former33t has asked for the wisdom of the Perl Monks concerning the following question:
Then varies between one of the two following lines:my @test = qw( fake -b -v 5); use IPC::Run qw(run);
The first option does trap STDOUT in $out, but messages written to /dev/tty are sent to the terminal running perl script. The second option also traps STDOUT in $out and my /dev/tty output is not sent to the terminal running the script. It also doesn't show up in $out. Any idea where it is going to and how to retrieve it? Thanks in advance perl monks.run \@tester, \$in, \$out; run \@tester, '>pty>', \$in, '>pty>', \$out;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: IPC::Run and /dev/tty
by idsfa (Vicar) on Oct 31, 2006 at 15:55 UTC | |
by former33t (Scribe) on Nov 01, 2006 at 00:43 UTC | |
|
Re: IPC::Run and /dev/tty
by themage (Friar) on Oct 31, 2006 at 15:47 UTC |