in reply to How to fork %comspec% in win32 perl
You really want to look at Win32::Job. It seems to be hands-down the best way to run a subprocess in Win32 whether you want a separate, detached process or whether you just want to wait for it to finish.
-xdg
Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
|
|---|