hi all, I start a process with Proc::Simple,

my question is: how can I read the PID from thses startinf process to kill
it in an other programm ?


use Proc::Simple;
$myproc = Proc::Simple->new();        # Create a new process object
$myproc->start("perl running.pl");        # Launch a shell process
$running = $myproc->poll();           # Poll Running Process
print "error" if($running == 0);
$this_pid = ????????????????

please help me the fix this problem !

Thanx in advanced
Kris


_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Reply via email to