in reply to Re: Capturing Error message in a log file.
in thread Capturing Error message in a log file.
Second, if you have access to a bash or bourne shell, you could just redirect STDERR to a file at the command line, like this:
your_script options and args 2> errlog
Windows 2000 command shell allows this type of redirection, too. Our build system at work used it until I rewrote the whole thing in perl.
--- print map { my ($m)=1<<hex($_)&11?' ':''; $m.=substr('AHJPacehklnorstu',hex($_),1) } split //,'2fde0abe76c36c914586c';
|
|---|