.
D 2000-10-26T00:43:57
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s1191\sBug\nVersion:\s8.1b1\nSubmitDate:\s'1999-02-11'\nLastModified:\s'1999-09-16'\nSeverity:\sMED\nStatus:\sClosed\nSubmitter:\spat\nChangedBy:\shobbs\nRelatedBugIDs:\s582\nOS:\sWindows\sNT\nOSVersion:\sWorkstation\sNT4.0\nMachine:\sX86\nFixedDate:\s'2000-10-25'\nClosedDate:\s'1999-09-16'\n\n\nName:\nAldo\sMAZZILLI\n\nReproducibleScript:\nif\s[catch\s{open\s"|sh\s2>@\sstdout"\sr+}\sinput]\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sError\n\s\s\s\s\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfconfigure\s$input\s-buffering\snone\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sfileevent\s$input\sreadable\sLog\n\s\s\s\s\s\s\s\s}\n...\n\nproc\sLog\s{}\s{\n\s\s\s\s\s\s\s\sglobal\sinput\n\s\s\s\s\s\s\s\sif\s{[gets\s$input\sline]<0}\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sclose\s$input\n\s\s\s\s\s\s\s\s}\selse\s{\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s.f.text\sinsert\send\s$line\\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s.f.text\ssee\send\n\s\s\s\s\s\s\s\s}\n}\n\nPutCmd\s{}\s{\n\s\s\s\s\s\s\s\s\sputs\s$input\s"$cmd\s\\n"\n}\n\nObservedBehavior:\nI'm\strying\sto\sport\sa\sTCL\sscript\sfrom\sSUN-OS\sto\sWin32\sand\sI\shave\sthe\nfollowing\smessage\s"console1\swasn't\sopened\sfor\swriting"\swhen\sI\s'puts'\sa\ncommand\sin\sa\spipeline.\n\nDesiredBehavior:\nThe\spipelined\sShell\smust\srun\sthe\scommand\sthat\sthe\suser\s'puts'\son\sit\sand\smust\sget\severything\son\sstdout\sand\sstderr\sin\sorder\sto\sdisplay\sthe\sboth\sresults\sin\sa\stext\swidget.\nEverything\sworks\scorrectly\sunder\sSun-OS\sbut\sfails\sunder\swin32.\n\n\n\nThis\sis\suser\serror.\s\sThere\sis\sa\sdifference\sin\sstdin,\sstdout,\sstderr\sfrom\sUnix\sto\sWindows.\s\sRedman\shas\sbeen\sworking\son\sWindows\sconsoles,\sso\sthis\smay\sbe\sfixed\ssoon.\s\s03/23/1999\s18:11\s-\ssurles\s-\n\n
J foundin obsolete:\s8.1b1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 69.\sOther
J title console1\swasn't\sopened\sfor\swriting\sunder\swin32
J type Bug
K 217807ffffffffffffffffffffffffffffffffff
U nobody
Z 57b09ad8e07079cb82f8dcdf11347c30