LPM: back tick problem
John Gibson
jgibson at lexmark.com
Fri Jun 22 07:43:05 CDT 2001
Try this.
$t = `$argv[0] 2>&1`;
$t2 = `$t 2>&1`;
This should capture the standard error also.
On 16:58, 06/21/01, Ronald Edward Petty said:
>
> $t = `$argv[0]`;
> $t2 = `$t`;
>
> If argv[0] is command that produces another commane
> newfs .... will make mkfs .....
>
> and the `$t` executes.... why is the output of that $2 null even though it
> is scrolling on the screen and correct?
>
> Ron
--
John Gibson jgibson at lexmark.com
Pinky, are you pondering what I am pondering?
I think so Brain, but how do we get a pair of Abe Vegoda's pants?
More information about the Lexington-pm
mailing list