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.
This topic is 16 years and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked
User avatar
rbarbour
Posts: 39
Last visit: Fri Aug 14, 2020 1:05 pm

Stop PoSH script execution

Post by rbarbour »

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: 8488
Last visit: Tue Apr 16, 2024 8:42 am
Answers: 20
Been upvoted: 37 times

Stop PoSH script execution

Post by Alexander Riedel »

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
Last visit: Tue Jan 27, 2015 7:26 pm

Stop PoSH script execution

Post by b0n3z »

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.
This topic is 16 years and 3 weeks old and has exceeded the time allowed for comments. Please begin a new topic or use the search feature to find a similar but newer topic.
Locked