Sorry, for trying to help.
My experiences of using IPC::Run on windows are dire. It is an over-engineered behemoth of a module that attempts to use *nix techniques to provide *nix capabilities on Windows, and fails dismally.
The point about winopen2 is that it provides you with a pair of selectable handles connected to the child process' STDIN & STDOUT.
As such, it is 'compatibile' with *nix-style code written using IPC::Open2 and select.
Ie. you'd only need do something like:
my( $in, $out );
if( $^O eq 'MSWin32' ) {
($in, $out ) = winopen2( $theCommand );
}
else {
open2( $in, $out, $theCommand );
}
...
select .....
But, its not in a module so ...
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
|