I've ran into a few cases where powershell ISE will freeze when you try to kill a process with Ctrl+C. I can still move my cursor around the console but the status is stuck on "Stopping".
This has happened for several commands but one particular command I've noticed this consistently happening for is
mvn jasmine:bdd
This command runs a maven plugin which starts a jetty server. I can stop this with Ctrl+C from Powershell Console but not from Powershell ISE. Could this be related to the fact that Powershell ISE can't run interactive commands?
Right now my workaround is to just "start" maven in another process. Anyone else run into a similar problem?
Thanks
I opened case for Powershell team while referencing this issue.
https://github.com/PowerShell/PowerShell/issues/7970
Seems like recommended way is to use VS Code with Powershell.
Also this can help https://docs.microsoft.com/en-us/powershell/scripting/core-powershell/vscode/using-vscode?view=powershell-6
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With