Hi All,
I have a perl script which starts a java process using Win32::Process. Here is the code to start the java proces:
Win32::Process: :Create($Proces sObj,
shift(@args),
join(" ", @args),
0,
Win32::Process: :NORMAL_PRIORIT Y_CLASS|Win32:: Process::CREATE _NO_WINDOW|Win3 2::Process::DET ACHED_PROCESS,
$installPath) or $retCode = 99;
$lastRunningPid = $ProcessObj->GetProcessID() ;
$ProcessObj->Wait(Win32::Pr ocess::INFINITE );
$ProcessObj->GetExitCode($r etCode);
Sometimes the java process returns with an exit code of 143 which is none of my App exit code. This seems to happen when the java process takes a long time to terminate (2h).
Anybody knows about that return code ? What does it mean ? Timeout ?
Cheers,
Jerome
I have a perl script which starts a java process using Win32::Process. Here is the code to start the java proces:
Win32::Process: :Create($Proces sObj,
shift(@args),
join(" ", @args),
0,
Win32::Process: :NORMAL_PRIORIT Y_CLASS|Win32:: Process::CREATE _NO_WINDOW|Win3 2::Process::DET ACHED_PROCESS,
$installPath) or $retCode = 99;
$lastRunningPid = $ProcessObj->GetProcessID() ;
$ProcessObj->Wait(Win32::Pr ocess::INFINITE );
$ProcessObj->GetExitCode($r etCode);
Sometimes the java process returns with an exit code of 143 which is none of my App exit code. This seems to happen when the java process takes a long time to terminate (2h).
Anybody knows about that return code ? What does it mean ? Timeout ?
Cheers,
Jerome
Comment