in reply to How to print STDOUT to a file
if you're on a *NIX. This appends to the file (so doesn't clobber it), if you want to start anew with every call to system use ">" instead of ">>".system("script.sh >> filename");
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to print STDOUT to a file
by salva (Canon) on Nov 14, 2005 at 12:08 UTC | |
by Anonymous Monk on Nov 14, 2005 at 12:17 UTC |