I am not creating the process using Win32::Process::Create().
Then you will need to obtain a handle to the process using:
my $proc = Win32::Process::Open( $pid, $iflags );
Creates a handle Perl can use to an existing process as identified by
+$pid.
And then call the Wait method on that handle:
$proc->Wait( <milliseconds|INFINITE> );
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
|