Skip to content
Tcl Source Code Artifact [786efe175e]
Login

Artifact [786efe175e]

Artifact 786efe175e24d16aea8459c4dfcaf2f215aab7f6:

Ticket change [786efe175e] - New ticket [219149ffffffffff|219149ffff] <i>bad interaction of input redirect from named pipe with backg</i>. by nobody on 2000-10-26 05:02:20.
D 2000-10-26T05:02:20
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s950\sBug\nVersion:\s8.0p2\nSubmitDate:\s'1998-12-14'\nLastModified:\s'1999-12-07'\nSeverity:\sSER\nStatus:\sAssigned\nSubmitter:\spat\nChangedBy:\shobbs\nOS:\sLinux\nMachine:\sOther\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nName:\sHarald\n\nReproducibleScript:\nRun\sthe\sfollowing\sscript.\n\n#!/bin/sh\n#\sexec\stclsh8.0\s"$0"\s\n\nexec\smkfifo\sfifo\nputs\s[exec\scat\s<fifo\s>@stdout\s&]\n\nObservedBehavior:\nAlthough\sthere\sis\san\s`&'\sat\sthe\send\nof\sthe\sexec-arguments,\sthe\sexec\sdoes\nnot\sreturn.\n\nDesiredBehavior:\nIf\s`&'\sis\sat\sthe\send\sof\sexec-args,\nexec\sshould\salways\sreturn\ssoon,\sindependent\sof\sinput\sredirection.\n\n\nThere\sis\sa\snot-so-perfect\sworkaround.\sThe\sfifo\scan\sbe\sopened\swith\sNONBLOCK\sand\sthe\shandle\sto\sthe\sopened\sfifo\scan\sbe\sused\sto\sredirect\sinput.\sHowever\sthen\sthe\schild-process\ssees\sa\snon-blocking\ninput\schannel,\swhich\sis\sprobably\snot\swhat\swas\sintended.\n--\nVerified\sin\s8.2.2\son\sSolaris.\s\n--\s12/07/1999\shobbs\n\n
J foundin obsolete:\s8.0p2
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 62.\s(unused)
J title bad\sinteraction\sof\sinput\sredirect\sfrom\snamed\spipe\swith\sbackg
J type Bug
K 219149ffffffffffffffffffffffffffffffffff
U nobody
Z 935173ba75c8e9bc42e0a6ea5a96d3bc