Product, version and build: PowerShell Studio 2016 5.4.143
32 or 64 bit version of product: 64 bits
Operating system: Windows 7
32 or 64 bit OS: 64 bits
PowerShell Version: 4.0
When script is running in Console, sometimes I wanted to stop it from running. But Ctrl+C won't work?
I know you can right click on Mouse and choose Cancel Execution, but sometimes you wanted interaction to happen a bit faster than that.
Ctrl+C does not stop script in Console?
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Re: Ctrl+C does not stop script in Console?
The ribbon prevents the Ctrl + C message from reaching the console process and triggers the copy command. That is why we included the context menu command, but we revisit it and see what we can do.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Ctrl+C does not stop script in Console?
Thanks, currently when I tried to right click and choose 'Cancel Execution', the script won't stop at all.
Re: Ctrl+C does not stop script in Console?
Try using [Ctrl + Break] instead and see if that works for you.
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: Ctrl+C does not stop script in Console?
I have a mini keyboard, and there's no break button
Is there a way I can customize a key?
Is there a way I can customize a key?
- Alexander Riedel
- Posts: 8488
- Last visit: Tue Apr 16, 2024 8:42 am
- Been upvoted: 37 times
Re: Ctrl+C does not stop script in Console?
As far as I know you cannot configure just another key to act as Ctrl+Break in Windows.
We will investigate what can be done.
We will investigate what can be done.
Alexander Riedel
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.