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");
In reply to Re: How to print STDOUT to a file
by tirwhan
in thread How to print STDOUT to a file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |