Overview
| Artifact ID: | e3a7011bff2adeb1243acab087dcca9e5c8f04d13052c8de3739964a7fab372a |
|---|---|
| Ticket: | f10d91c2d39e1b015be44c41840f4cd0b4f4640f
dead-console busy-loop in tclWinConsole.c |
| User & Date: | sebres on 2026-09-18 17:52:23 |
Changes
- closedate changed to: "2461302.2447209489"
- closer changed to: "sebres"
- icomment:
I don't think it is good idea to cover tcl-tests with ps scripts (cannot it be scripted in tcl?)...<br/> Let alone, it is disabled by default per policies to invoke ps-scripts (at least from temp-folders and/or unsigned), and there are people (like me) which don't allow this intentionally. Not to mention rude corporate policies. Then you'd see something like this: <code><pre style="margin-left:15pt"> ==== console-bug-f10d91c2 Test termination of console process with extreme prejudice FAILED ==== Contents of test case: exec {*}[auto_execok powershell] -File $psScript ---- Result was: File T:\Temp\bug-f10d91.ps1 cannot be loaded because running scripts is disabled on this system. For more information, see about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170. + CategoryInfo : SecurityError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : UnauthorizedAccess ---- Result should have been (glob matching): *tclsh terminated*readable fired*exiting* ==== console-bug-f10d91c2 FAILED </pre></code> I fixed it in [6128e26dc47a54bd] by skipping the test in case of policy violation, but...<br/> However it "works" for me now, I didn't test it on machine where starting of such ps-scripts is allowed, so please test it. - login: "sebres"
- mimetype: "text/x-fossil-wiki"