in reply to dumb question on exec and system ...
What if you want the messages that your subprocess generates to go to your STDOUT (which, perhaps, is going to a log) as it is generated? (With `` you'll not get any output until the program has completely finished, so no partial progress information is provided.)
Both of these are good reasons to use system or exec instead of backticks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: dumb question on exec and system ...
by ambrus (Abbot) on Apr 15, 2004 at 16:37 UTC | |
by Abigail-II (Bishop) on Apr 15, 2004 at 16:55 UTC |