0

I have a simple PowerShell script:

Start-Process powershell -args "-NoLogo -NoExit -Command `"cd .\back\; code .; npm start`""; Set-Location .\front\; code .; npm run dev;

Like, run frontend and backend in separate terminals and open VSCode. What I would like to change here is the terminal - open in Hyper instead of PowerShell.

If I run Start-Process powershell, it will open Hyper terminal, but it will be empty.

Andrew
  • 701
  • 1
  • 8
  • 19
  • Have you considered creating a [PowerShell profile](https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_profiles?view=powershell-7.2)? This is preferable to runtime arguments – pirateofebay Oct 12 '22 at 21:11

0 Answers0