multithreading - Your vendor has not defined Win32::Process macro getExitCode -
i'm trying following:
my @procs; // .. stuff win32::process::create($processobj, "$comspec", $cmd, 0, normal_priority_class, ".") push ( @procs, $processobj); // .. stuff $exitcode = 0; foreach $proc (@procs) { $proc->getexitcode($exitcode); if ($exitcode > 0 ) { print "\t*** error in build ***\n"; exit ($exitcode); } };
however, when part of script gets executed, following message:
your vendor has not defined win32::process macro getexitcode, used @ c:..build.pl line 182. @ c:/program files (x86)/ibm/rationalsdlc/common/lib/perl5/site_perl/5.8.6/mswin32 -x86-multi-thread/win32/process.pm line 47, line 1700.
i tried googling around, couldn't find much. i'm pretty new perl, has me stumped. bless
come play here?
according documentation win32::process methods
correct name getexitcode
(with capital 'g').
Comments
Post a Comment