One of the things I really like about the VBScript "run" command is the ability to stop the script when one sees it isn't working as expected. This feature seems to be missing from the PowerShell script "run" environment. When I choose to "run" a PowerShell script, PrimalScript Ent 2007 simply goes unresponsive. I cannot change tabs, open menus or anything. I must wait for the script to finish running before I can return to the editor.
Please add the ability to stop PowerShell scripts from running inside the internal shell environment.
Stop PoSH script execution
Forum rules
Do not post any licensing information in this forum.
Do not post any licensing information in this forum.
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Stop PoSH script execution
We'd love to. The PowerShell API unfortunately has no API for doing that.
We are investigating options though.
Alex
Alexander Riedel2008-02-14 10:51:19
We are investigating options though.
Alex
Alexander Riedel2008-02-14 10:51:19
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Stop PoSH script execution
I agree - this would be really nice to have. Rather than having to end the task - just have it gracefully stop the process or sub-process.