![]() |
![]() |
![]() |
Windows suspend process Is there anything in windows that is equivalent to CTRL-Z in unix? I want to suspend an arbitrary process and wake it up later - all user controlled.
emacsdude
Built in? No. Available via some obscure 3rd party application? Maybe.
Brad Wilson (dotnetguy.techieswithcats.com)
The APIs exist (OpenProcess, SuspendThread, etc). It may require a simple debugger to attach and freeze the process in question.
Doug
Hum,
Albert D. Kallal
Never use SuspendThread on a thread you don't control -- the thread might just be calling a heap allocation routine or something else that holds a global lock, and then you're doomed...
Frederik Slijkerman
http://www.sysinternals.com/ntw2k/freeware/procexp.shtml
B
The sysinternals also offers the free commandline tool pssuspend: http://www.sysinternals.com/ntw2k/freeware/pssuspend.shtml
Somorone
Thanks everyone! The sysinternals tools are fantastic.
emacsdude
|