D 2009-08-24T06:10:31 J icomment From\sthe\sstacktrace\sthis\smight\sbe\sa\sduplicate\sof\s18262248\sper\n\n2009-07-24\s\sAndreas\sKupries\s\s\n\n\s\s\s\s\s\s\s\s*\sgeneric/tclIO.c\s(Tcl_GetChannelHandle):\s[Bug\s2826248]:\sDo\snot\scrash\n\s\s\s\s\s\s\s\s*\sgeneric/tclPipe.c\s(FileForRedirect):\sfor\sgetHandleProc\s==\sNULL,\sthis\n\s\s\s\s\s\s\s\sis\sallowed.\sProvide\sa\snice\serror\smessage\sin\sthe\sbypass\sarea.\sUpdated\n\s\s\s\s\s\s\s\scaller\sto\scheck\sthe\sbypass\sfor\sa\smesage.\sBug\sreported\sby\sAndy\n\s\s\s\s\s\s\s\sSonnenburg\s.\sBackported\sfrom\sCVS\n\s\s\s\s\s\s\s\shead.\n\nA\slimitation\sof\sreflected\schannels,\sthey\scannot\sbe\sused\sas\sredirection\sin\scommand\spipelines.\sOn\sthe\sother\shand,\sit\sis\snot\sclear\swhere\sin\s'interp\screate'\sit\swould\srun\s[exec].\sMaybe\ssomewhere\sin\s"init.tcl"\s?\n\nIt\smight\sbe\suseful\sto\stry\sthis\swith\sthe\sCVS\shead\sof\sthe\s8.5\sbranch.\sNote\sthat\sthis\swill\snot\sfix\sthe\slimitation\sitself,\sonly\sconvert\sthe\scrash\sinto\sa\sproper\sTcl\serror\smessage.\n\n J login andreas_kupries J mimetype text/plain J username andreas_kupries K 2843166fffffffffffffffffffffffffffffffff U andreas_kupries Z 53c0baa5be72162eaca973836e86a632