<i>dead-console busy-loop in tclWinConsole.c</i> status still Closed with 5 other changes
by
.
D 2026-09-18T17:52:23.890
J closedate 2461302.2447209489
J closer sebres
J icomment I\sdon't\sthink\sit\sis\sgood\sidea\sto\scover\stcl-tests\swith\sps\sscripts\s(cannot\sit\sbe\sscripted\sin\stcl?)...<br/>\r\nLet\salone,\sit\sis\sdisabled\sby\sdefault\sper\spolicies\sto\sinvoke\sps-scripts\s(at\sleast\sfrom\stemp-folders\sand/or\sunsigned),\sand\sthere\sare\speople\s(like\sme)\swhich\sdon't\sallow\sthis\sintentionally.\sNot\sto\smention\srude\scorporate\spolicies.\r\n\r\nThen\syou'd\ssee\ssomething\slike\sthis:\r\n<code><pre\sstyle="margin-left:15pt">\r\n====\sconsole-bug-f10d91c2\sTest\stermination\sof\sconsole\sprocess\swith\sextreme\sprejudice\sFAILED\r\n====\sContents\sof\stest\scase:\r\n\s\s\s\sexec\s{*}[auto_execok\spowershell]\s-File\s$psScript\r\n----\sResult\swas:\r\nFile\sT:\\Temp\\bug-f10d91.ps1\scannot\sbe\sloaded\sbecause\srunning\sscripts\sis\sdisabled\son\sthis\ssystem.\r\nFor\smore\sinformation,\ssee\sabout_Execution_Policies\sat\shttps:/go.microsoft.com/fwlink/?LinkID=135170.\r\n\s\s\s\s+\sCategoryInfo\s\s\s\s\s\s\s\s\s\s:\sSecurityError:\s(:)\s[],\sParentContainsErrorRecordException\r\n\s\s\s\s+\sFullyQualifiedErrorId\s:\sUnauthorizedAccess\r\n----\sResult\sshould\shave\sbeen\s(glob\smatching):\r\n*tclsh\sterminated*readable\sfired*exiting*\r\n====\sconsole-bug-f10d91c2\sFAILED\r\n</pre></code>\r\n\r\nI\sfixed\sit\sin\s[6128e26dc47a54bd]\sby\sskipping\sthe\stest\sin\scase\sof\spolicy\sviolation,\sbut...<br/>\r\nHowever\sit\s"works"\sfor\sme\snow,\sI\sdidn't\stest\sit\son\smachine\swhere\sstarting\sof\ssuch\sps-scripts\sis\sallowed,\sso\splease\stest\sit.
J login sebres
J mimetype text/x-fossil-wiki
K f10d91c2d39e1b015be44c41840f4cd0b4f4640f
U sebres
Z 1a1593b18730c32e53fcea3c31ff141d