However, I would suggest you keep STDOUT open as-is, and redirect STDERR instead. That way normal program output (via print) behaves like it always does, but warn and die output to your log file.
In reply to Re: Re: Process output redirecting
by mr.nick
in thread Process output redirecting
by ginju
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |