Stop PoSH script execution

Post feature requests, product enhancement ideas, and other product-specific suggestions here. Do not post bug reports.
Forum rules
Do not post any licensing information in this forum.
Locked
User avatar
rbarbour
Posts: 39
Joined: Wed Jan 30, 2008 9:05 am

Stop PoSH script execution

Post by rbarbour » Thu Feb 14, 2008 3:46 am

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.

User avatar
Alexander Riedel
Posts: 7049
Joined: Tue May 29, 2007 4:43 pm

Stop PoSH script execution

Post by Alexander Riedel » Thu Feb 14, 2008 3:51 am

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
Alexander Riedel
SAPIEN Technologies, Inc.

User avatar
b0n3z
Posts: 10
Joined: Fri Mar 21, 2008 9:39 am

Stop PoSH script execution

Post by b0n3z » Fri Mar 21, 2008 8:27 am

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.

Locked