Hi all,

 

I’m looking for a way to call an external program and get back the result in an array without seeing anything on the STDOUT.

If ‘m using in example

 

$path = “\\”;

$result = system(“dir”,  $path);

 

I can see the output on the STDOUT but I can’t find a way to put it in an array to make a post processing.

Only to forward the STDOUT to a file is a idea, but based on other reasons not useful for me.

The variable $result contain only the return code if the external program us supporting this.

 

Markus

 

 

_______________________________________________
Perl-Win32-Users mailing list
Perl-Win32-Users@listserv.ActiveState.com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to