in reply to How to get output from a spawned cmd prompt?
I would use the IPC::Run3 CPAN module to do this.
The run3 routine will allow you to capture the STDOUT to a variable that you can then use to check the output
run3($cmd, \$stdin, \$stdout, \$stderr);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to get output from a spawned cmd prompt?
by BioLion (Curate) on Jan 21, 2010 at 11:17 UTC |