Overview
| Artifact ID: | d72fc8bfa323bb4c8cfa0b5feb75928e5e5d8ea5 |
|---|---|
| Ticket: | 768678ffffffffffffffffffffffffffffffffff
open "|prog >file" throws error but still executes prog |
| User & Date: | nobody on 2003-07-09 19:19:06 |
Changes
- assignee changed to: "andreas_kupries"
- cmimetype changed to: "text/plain"
- comment changed to:
e.g.: set pipe [open "|echo foo >bar" r] rightly throws an error, because stdout is redirected in a pipe opened for reading. But: by the time it complains, the pipeline has already been executed (with all it's sideeffects) or is still running in the background and no channel is assigned, so these processes of the pipe cannot be identified. A solution to this would likely involve changing the signature of TclCreatePipeline() (although it is "unofficially exported for BLT"). One solution could be to add an integer "flags" argument, similar to Tcl_OpenCommandChannel() and pass along TCL_STDIN and/or TCL_STDOUT depending on whether the pipe is opened for r,w or both, doing the forbid-mechanics one level deeper than where it is done now.
- foundin changed to: "obsolete: 8.4.3"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "25. Channel System"
- title changed to:
open "|prog >file" throws error but still executes prog
- type changed to: "Bug"