From: Donald G Porter <dgp@ni...> - 2006-04-25 13:52:20
> Currently the exec function will always fail if the process writes to
> standard error. Since various applications use stderr for debug output
> it would be useful to retain this output without having to resort to
> redirecting stderr to stdout. I've included a patch that adds the
> "-ignorestderr" option to exec to accomplish just this. Without the
> switch, exec runs as normal, with the switch stderr will continue to be
> written without stopping the command. The drawback to this is that if
> "-ignorestderr" is used, and the program fails, stderr is not appended
> to the result. It is useful in some situations, but not others.
> I've tested the patch only on linux. It should function properly on
> windows, but will need testing. The patch is against the most recent cvs
> checkout from sourceforge.
Is this related to TIP 249 or TIP 240 or perhaps an existing Feature
Request? Will it get folded into one of those proposals, or is this
a preview of another TIP you have in the making?
Could you please register the patch in Tcl's Feature Request tracker
at SourceForge? Easier for us not to lose track of it there.
| Don Porter Mathematical and Computational Sciences Division |
| donald.porter@... Information Technology Laboratory |
| http://math.nist.gov/~DPorter/ NIST |