Artifacts Associated With Ticket 1476191
Ticket change [41e1e8dcf0] (rid 116269) by fishybell on 2006-04-25 15:24:42:
- assignee initialized to: "dkf"
- cmimetype initialized to: "text/plain"
- comment initialized to:
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.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "fishybell"
- subsystem initialized to: "16. Commands A-H"
- title initialized to: "exec function ignores stderr"
- type initialized to: "RFE"
Add attachment "exec.diff" [85358023ea] (rid 131278) by fishybell on 2006-04-25 22:24:43.
Ticket change [3394919025] (rid 106621) by fishybell on 2006-04-25 22:24:45:
- icomment:
File Added - 175739: exec.diff
- login: "fishybell"
- mimetype: "text/plain"
- username: "fishybell"
- icomment:
Ticket change [35f9b7f57f] (rid 107038) by dkf on 2006-04-26 05:40:19:
- assignee changed to: "andreas_kupries"
- subsystem changed to: "24. Channel Commands"
Ticket change [dddc78f08b] (rid 114750) by arunbp on 2006-08-31 06:04:49:
- icomment:
Logged In: YES user_id=1587423 ta
- login: "arunbp"
- mimetype: "text/plain"
- username: "arunbp"
- icomment:
Ticket change [a5e2787a4f] (rid 261512) by serhiy.storchaka on 2026-11-13 11:18:43:
- closedate changed to: "2461357.9713335303"
- closer changed to: "serhiy.storchaka"
- icomment:
Implemented as exec -ignorestderr by TIP 267 in Tcl 8.5.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"