Trying to launch a new shell window from a GUI based form. Using the below code works when I debug the program from within Powershell Studio..
However, when I build the program and try the same thing from running the actual executable, I get the following prompt and it never launches the new shell window.
![Image]()
Not sure where the difference is between debugging and running the .exe
Code:
Start-Process powershell.exe -argumentlist "c:\filepath\Script.ps1"
Not sure where the difference is between debugging and running the .exe
Statistics: Posted by Shelltastic — Mon Sep 09, 2024 9:14 am