Skip to content
Tcl Source Code View Ticket
Login

View Ticket

auto_execok infinite loop

Closed / Fixed093353fedbf7a04e8937664b2b03cd5677bd63b4Created 4 years agoUpdated 195 days ago
Descriptionplain2023-01-19 13:51:57
auto_execok command does not return if string contains leading ~ character, for example

auto_execok ~foobar

Tcl versions 8.6.9, 8.6.10, 8.6.11 on Windows 10
fvogelplain2023-01-19 20:41:34
I'm not reproducing this on Windows 11 with 8.6.9 or the current tip of core-8-6-branch.
apnadkarnimarkdown2026-05-22 10:48:56

Cannot reproduce with 9.0 or 9.1. Closing.

% writeFile ~foobar.bat ""
% auto_execok ~foobar
{.\~foobar.bat}
% writeFile ~foo.vbs ""
% auto_execok ~foo
{C:\WINDOWS\System32\WScript.exe} {.\~foo.vbs}
Log in (anonymous is fine) to add a comment.