|
2026-11-13
| ||
| 11:18 | • Closed ticket [1476191fff]: exec function ignores stderr plus 6 other change... artifact: a5e2787a4f user: serhiy.storchaka | |
|
2006-08-31
| ||
| 06:04 | • Ticket [1476191fff]: 4 changes artifact: dddc78f08b user: arunbp | |
|
2006-04-26
| ||
| 05:40 | • Ticket [1476191fff]: 2 changes artifact: 35f9b7f57f user: dkf | |
|
2006-04-25
| ||
| 22:24 | • Ticket [1476191fff]: 4 changes artifact: 3394919025 user: fishybell | |
| 22:24 | • Add attachment exec.diff to ticket [1476191fff] artifact: 85358023ea user: fishybell | |
| 15:24 | • New ticket [1476191fff] exec function ignores stderr. artifact: 41e1e8dcf0 user: fishybell | |
exec function ignores stderr
Closed / Fixed1476191fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 days ago
Descriptionplain2006-04-25 15:24:42
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.
fishybellplain2006-04-25 22:24:45
File Added - 175739: exec.diff
dkf Ticket [1476191fff]: 2 changes
[History diff]2006-04-26 05:40:19
arunbpplain2006-08-31 06:04:49
Logged In: YES user_id=1587423 ta
serhiy.storchakawiki2026-11-13 11:18:43
Implemented as exec -ignorestderr by TIP 267 in Tcl 8.5.
Log in (anonymous is fine) to add a comment.
Attachments:
- exec.diff [download] added by fishybell on 2006-04-25 22:24:43. [details]