Skip to content
Tcl Source Code Artifact [d72fc8bfa3]
Login

Artifact [d72fc8bfa3]

Artifact d72fc8bfa323bb4c8cfa0b5feb75928e5e5d8ea5:

Ticket change [d72fc8bfa3] - New ticket [768678ffffffffff|768678ffff] <i>open &quot;|prog &gt;file&quot; throws error but still executes prog</i>. by nobody on 2003-07-09 19:19:06.
D 2003-07-09T19:19:06
J assignee andreas_kupries
J cmimetype text/plain
J comment e.g.:\s\sset\spipe\s[open\s"|echo\sfoo\s>bar"\sr]\n\s\srightly\sthrows\san\serror,\sbecause\sstdout\sis\sredirected\sin\n\s\sa\spipe\sopened\sfor\sreading.\n\s\sBut:\sby\sthe\stime\sit\scomplains,\sthe\spipeline\shas\salready\n\s\sbeen\sexecuted\s(with\sall\sit's\ssideeffects)\sor\sis\sstill\srunning\n\s\sin\sthe\sbackground\sand\sno\schannel\sis\sassigned,\sso\sthese\n\s\sprocesses\sof\sthe\spipe\scannot\sbe\sidentified.\n\nA\ssolution\sto\sthis\swould\slikely\sinvolve\schanging\sthe\s\n\s\ssignature\sof\sTclCreatePipeline()\s(although\sit\sis\s\n\s\s"unofficially\sexported\sfor\sBLT").\n\s\s\sOne\ssolution\scould\sbe\sto\sadd\san\sinteger\s"flags"\s\n\s\s\sargument,\ssimilar\sto\s\sTcl_OpenCommandChannel()\s\n\s\s\sand\spass\salong\sTCL_STDIN\sand/or\sTCL_STDOUT\n\s\s\sdepending\son\swhether\sthe\spipe\sis\sopened\sfor\sr,w\sor\s\n\s\s\sboth,\sdoing\sthe\sforbid-mechanics\sone\slevel\sdeeper\n\s\s\sthan\swhere\sit\sis\sdone\snow.\n
J foundin obsolete:\s8.4.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 25.\sChannel\sSystem
J title open\s"|prog\s>file"\sthrows\serror\sbut\sstill\sexecutes\sprog
J type Bug
K 768678ffffffffffffffffffffffffffffffffff
U nobody
Z b67975246171e88d591874d63d16ddf2