in reply to STDOUT, STDERR sniffer
Too much guess here, was the question sort of asked in a way that is over simplified?
If the purpose is solely to capture the result, why Perl script? Personally I dislike the idea to wrap one-liner unix command in a Perl script.
Whether Expect is something you want really depends on whether the output is analyzed right the way, or off line. If the result of the analysis is not useful for the execution itself, Expect is not the right guy. The situation is not clearly described in the original post and follow ups, so cannot say, but I sort of giving you the rule already.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: STDOUT, STDERR sniffer
by Anonymous Monk on Jul 21, 2004 at 17:28 UTC | |
by inguanzo (Acolyte) on Jul 21, 2004 at 18:13 UTC | |
by mhi (Friar) on Jul 22, 2004 at 08:14 UTC | |
by inguanzo (Acolyte) on Jul 22, 2004 at 01:40 UTC |