in reply to various questions about Win32::Process
Try system_detached
that is launch a detached process in the background with a new shell, have that process be a perl program that spawn whatever you're really spawning , capture STDIN/STDERR/... IPC::Run3/Capture:: Tiny... save wherever you want to save, and exit with the true programs exit value
if it takes too long kill it
Then get data from cache or tempfiles, perform any cleanup ... whatever
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: various questions about Win32::Process ( system_detached Capture::Tiny )
by nabbo (Novice) on Jan 13, 2014 at 13:18 UTC | |
by Anonymous Monk on Jan 13, 2014 at 23:17 UTC |