Artifacts Associated With Ticket 4fae07ea8a
Ticket change [a386525a4c] (rid 253123) by apnadkarni on 2026-04-27 10:51:38:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-markdown"
- comment initialized to:
On Windows, `auto_execok` looks up `PATHEXT` for extensions that are deemed to be "executable". However, the returned command that is to be passed to exec is wrong. For example, ``` % file exists foo.vbs 1 % auto_execok foo.vbs c:/src/tcltk/wip/tcl/win/Release_AMD64_VC1944/foo.vbs % exec {*}[auto_execok foo.vbs] couldn't execute "c:\src\tcltk\wip\tcl\win\Release_AMD64_VC1944\foo.vbs": no such file or directory ``` If auto_execok does not handle `PATHEXT`, it can be documented as such and return an empty string. Returning some bogus command line that will never work is not advisable. - is_private initialized to: "0"
- login: "apnadkarni"
- priority initialized to: "5 Medium"
- private_contact initialized to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "apnadkarni"
- subsystem initialized to: "- New Builtin Commands"
- title initialized to:
Broken exec/auto_execok handling of PATHEXT extensions on Windows
- type initialized to: "Bug"
Ticket change [2da4c2b324] (rid 253711) by apnadkarni on 2026-05-21 06:00:33:
- closedate changed to: "2461181.7503823843"
- closer changed to: "apnadkarni"
- icomment:
Fixed in 9.1. Will not be fixed in earlier releases.
- login: "apnadkarni"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"