perlquestion
Biff
Greetings and Salutations,<br></br>
I've been trying to capture output from child processes who write to STDOUT. I've been trying to make use of pipes to do this and have had no luck so far. One particular stickler is this:
<CODE>
defined ($pid = open $fh, "-|") or warn $! and last;
</CODE>
Which returns the error:<br></br>
<b>"-" is not recognized as an internal or external command, operable program or batch file.</b>
<br></br>
I'm using Perl 5.8.0 from ActiveState on Windows. Does this just not work on Windows? If I replace the "-" with a program name I don't get the error.<br></br>
thanks,<br></br>
Biff