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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -