in reply to Reset STDERR to console
As you'd know, by default, STDERR points to STDOUT.
After you have manipulated the file, as mentioned in the code above, you can point STDERR back to STDOUT using the following code:
*STDERR = *STDOUT;
Hope this helps!
Sumeet Grover.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Reset STDERR to console
by moritz (Cardinal) on Apr 01, 2011 at 10:11 UTC | |
by anonymized user 468275 (Curate) on Apr 01, 2011 at 11:24 UTC | |
by ikegami (Patriarch) on Apr 01, 2011 at 19:33 UTC | |
|