|There's more than one way to do things|
Re^3: Pause and Resume Exeby BrowserUk (Pope)
|on Feb 27, 2013 at 12:10 UTC||Need Help??|
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.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.