JimF
2006-10-16 18:46:02 UTC
I am not sure if there is a more appropriate group or place to post potential
bugs, so I will drop this off here.
I have found a consistent way of getting PowerShell to exit abnormally (at
least on my Windows 2003 R2 computer).
At a prompt, type "ping -t <some address>"; It doesn't even have to be a
valid address. For those unfamiliar with the -t parameter it basically does
not stop pinging until you do a Ctrl-C.
If you simply let it run and type Ctrl-C, everything works as expected--BUT
a feature of using -t is you can also use Ctrl-Break to get intermediate
statistics and continue.
If you do at least one Ctrl-Break, and then finally do a Ctrl-C, PowerShell
will exit after the Ctrl-C.
Also, after you do the first Ctrl-Break you will see a message "Ctrl-Break
typed; exiting", presumably from PowerShell since I don’t see this “extra”
message in cmd.exe.
Thanks,
Jim
bugs, so I will drop this off here.
I have found a consistent way of getting PowerShell to exit abnormally (at
least on my Windows 2003 R2 computer).
At a prompt, type "ping -t <some address>"; It doesn't even have to be a
valid address. For those unfamiliar with the -t parameter it basically does
not stop pinging until you do a Ctrl-C.
If you simply let it run and type Ctrl-C, everything works as expected--BUT
a feature of using -t is you can also use Ctrl-Break to get intermediate
statistics and continue.
If you do at least one Ctrl-Break, and then finally do a Ctrl-C, PowerShell
will exit after the Ctrl-C.
Also, after you do the first Ctrl-Break you will see a message "Ctrl-Break
typed; exiting", presumably from PowerShell since I don’t see this “extra”
message in cmd.exe.
Thanks,
Jim