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.
In reply to Re: dumb question on exec and system ...
by tilly
in thread dumb question on exec and system ...
by iza
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |