Somu wrote:
About that PID problem, i found a program in Windows named tasklist,
it prints all the processes running on the system with its id. I used
the system command to execute the tasklist, like as

my $data = system "tasklist" ;

but i got nothing in $data. How can i get the data from the system command?

You can't. And you should have read the documentation for the system() function before posting here.

    perldoc -f system

--
Gunnar Hjalmarsson
Email: http://www.gunnar.cc/cgi-bin/contact.pl

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to