Think about Loose Coupling | |
PerlMonks |
Re: various questions about Win32::Process ( system_detached Capture::Tiny )by Anonymous Monk |
on Jan 10, 2014 at 18:38 UTC ( [id://1070168]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Seekers of Perl Wisdom
|
|