system() will capture STDOUT if you use redirection as part of the command
being executed.

Otherwise, use backticks.  STDOUT is the value returned by the backtick
execution and the return code is saved in $?.  Notice, however, that $? is
the full return, so the completion code itself is $? >> 8.

Merrill
> http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to