Artifacts Associated With Ticket 1106853
Ticket change [e31774ac9a] (rid 87731) by nobody on 2005-01-21 17:33:34:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
If I create a channel in C code with Tcl_CreateChannel (passing in TCL_WRITABLE) then try to output to it using exec, like so: % exec ls >@channel I get the error message (under Linux): channel "foo" wasn't opened for writing The actual cause of the error is that there's no file handle associated with my channel. I don't mind that this doesn't work, but the error message is confusing, especially since the channel patently is open for writing, since: % puts channel "some string" works fine. This is with Tcl 8.4.7.
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "nobody"
- subsystem initialized to: "25. Channel System"
- title initialized to: "On Linux, exec >@channel may give incorrect error"
- type initialized to: "Bug"
Ticket change [288b9ad140] (rid 259723) by serhiy.storchaka on 2026-10-21 10:03:37:
- icomment:
Fixed in 8.5.8 and 8.6.0 by [9039eeb584] (8.5: [62c8e5320a]): for a channel without OS handles, exec redirection now reports <tt>channel "x" does not support OS handles</tt> instead of "wasn't opened for writing".
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [f944d952d3] (rid 260015) by serhiy.storchaka on 2026-10-22 17:19:30:
- closedate changed to: "2461334.9191868636"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"