- or download this
use Win32::Process;
...
print "[$a] ==> I *think* this will be zero if the " .
" process terminated on its own before Wait() finished\n";
- or download this
$ProcessObj->GetExitCode($exitvalue);
print "The code returned: $exitvalue\n";
- or download this
DETACHED_PROCESS
CREATE_NEW_CONSOLE
DETACHED_PROCESS | IDLE_PRIORITY_CLASS