DrWhy has asked for the wisdom of the Perl Monks concerning the following question:
I am working on a script to run all of our regression test scripts from Windows' cron (aka Scheduled Tasks), and then produce a summary report. I'm planning to go through Test::Harness::Straps to execute the test scripts. THS executes the test scripts via a piped open (open(FILE, "$command |")). This will catpure stdout, but will let stderr go on it's merry way. I'd like to capture the stderr in my script. Does anyone know of a good (actually it doesn't have to be good, it just has to work;) way to do that?
--DrWhy
"If God had meant for us to think for ourselves he would have given us brains. Oh, wait..."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Capturing stderr from a test script executed by Test::Harness::Straps
by chromatic (Archbishop) on Oct 18, 2005 at 01:33 UTC | |
|
Re: Capturing stderr from a test script executed by Test::Harness::Straps
by saintmike (Vicar) on Oct 17, 2005 at 23:30 UTC | |
by DrWhy (Chaplain) on Oct 18, 2005 at 04:31 UTC | |
by adrianh (Chancellor) on Oct 18, 2005 at 10:37 UTC | |
|
Re: Capturing stderr from a test script executed by Test::Harness::Straps
by graff (Chancellor) on Oct 18, 2005 at 00:24 UTC | |
by DrWhy (Chaplain) on Oct 18, 2005 at 04:29 UTC |