<i>tclWinPipe DETACHED_PROCESS vs. CREATE_NO_WINDOW</i>.
by
.
D 2026-07-03T21:22:42.775
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-plain
J comment Dear\sCore\sTeam,\r\n\r\nIn\sWindows\swish\s8.6\sif\syou\stry\sthe\sfollowing:\r\n\r\nexec\spowershell.exe\s-NoProfile\s-Command\s"dir"\r\n\r\nThis\swill\sreturn\snothing.\r\nWith\spowershell\sthis\swhole\sredirection\sfails.\sOne\shas\sto\scompile\stclWinPipe.c\swith:\r\n\r\ncreateFlags\s=\sCREATE_NO_WINDOW;\r\n\r\nIt\sseems\sthat\swith\sno\sconsole\sattached\sthe\spowershell\sdoes\snot\seven\srun\sthe\scommand,\sfailing\ssilently:\r\n\r\nexec\spowershell.exe\s-NoProfile\s-Command\s"dir\s|\sOut-File\s-Encoding\sutf8\sC:/dir.txt"\r\n\r\nThe\sabove\scommand\sdoes\snot\seven\sgenerate\sthe\sfile.\r\n\r\nNote\sthat\swith\stclsh\sall\sthe\sabove\sworks,\sit\sonly\sin\swish\sthat\sfails.\r\n\r\nTCL\s9\sdoes\shave\sthe\ssame\sissue.
J foundin 8.6\sand\s9.x
J is_private 0
J login teclab
J priority 5\sMedium
J private_contact 6bac77948ef91492d41f70b5be732fdb60f91282
J resolution None
J severity Minor
J status Open
J submitter teclab
J subsystem 69.\sOther
J title tclWinPipe\sDETACHED_PROCESS\svs.\sCREATE_NO_WINDOW
J type Patch
K cbbd2511cee8b8b8b03342577df9e181a27c5ba5
U teclab
Z 3cc94362c4e30ac4836530c23d9ec0bc