in reply to Re: How to detect I/O redirection on Win32
in thread How to detect I/O redirection on Win32

Hi,

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.

  • Comment on Re^2: How to detect I/O redirection on Win32

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

      Hey, this is not a discussion on user psychology!!

      If a software release PRODUCES warnings and/or errors IT HAS to be logged. The users can decide to ignore the warnings, but the process won't let pass software with (MAKE/compile) errors. So the process has to take care to "see" as much as possible of the making, compiling, packaging ...

      To *release* a software to test department WITH build errors is just a waste of time!