in reply to write to cmd and save output
Update:Doh.. I missed the interactively part..
If you mean run an executable and capture the output, there are several ways to do this.
$result = `mycmd.exe -param1 -param2`;
or you could look at win32::process but you would have to do some clever STDOUT redirection. Some links to follow..
Of all the things I've lost in my life, its my mind I miss the most.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: write to cmd and save output
by aquarium (Curate) on Nov 19, 2003 at 13:24 UTC | |
by Anonymous Monk on Nov 19, 2003 at 13:50 UTC | |
by aquarium (Curate) on Nov 20, 2003 at 22:08 UTC |
In Section
Seekers of Perl Wisdom