in reply to Re^2: Pause and Resume Exe
in thread Pause and Resume Exe
But I have to specify in the beginning only when to suspend and resume the exe.
No you don't.
Script A uses Win32::Process::CreateProcess() to start perl.exe running script B. It gets a process handle back from that call.
Script B is running asynchronously from Script A. And Script A can call $hproc->Suspend() and $hproc->Resume() whenever it chooses to.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Pause and Resume Exe
by gautamparimoo (Beadle) on Feb 28, 2013 at 05:46 UTC | |
by BrowserUk (Patriarch) on Feb 28, 2013 at 12:10 UTC | |
by gautamparimoo (Beadle) on Mar 01, 2013 at 05:41 UTC |