P
Phil Rhoades
People,
I quite frequently have something like:
exec > $logfile 2>&1
at the top of my shell scripts to output everything that follows (including
errors) into a log file - is there some way of doing the equivalent in a Ruby
script?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +610)411-185-652
Fax: +610)2-8221-9599
E-mail: (e-mail address removed)
I quite frequently have something like:
exec > $logfile 2>&1
at the top of my shell scripts to output everything that follows (including
errors) into a log file - is there some way of doing the equivalent in a Ruby
script?
Thanks,
Phil.
--
Philip Rhoades
Pricom Pty Limited (ACN 003 252 275 ABN 91 003 252 275)
GPO Box 3411
Sydney NSW 2001
Australia
Mobile: +610)411-185-652
Fax: +610)2-8221-9599
E-mail: (e-mail address removed)