in reply to Re: How to detect I/O redirection on Win32
in thread How to detect I/O redirection on Win32
the PERL scripts are part of a software release process (CM) and I definitely DON'T WANT the users to ignore errors or warnings.
The log file is parsed later and transformed into HTML where warnings and errors get colored....
If the whole subprocess is redirected I need to print out errors/warnings ONCE and if it is not I have to print both to STDERR and STDOUT and eventually to a LOGFILE handle...
And as long as the "master" process is NOT controlled by a PERL script, but some BATchfile I cannot control redirection /logging to the log file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to detect I/O redirection on Win32
by BrowserUk (Patriarch) on Sep 11, 2007 at 07:37 UTC | |
by Anonymous Monk on Sep 11, 2007 at 09:43 UTC |