Overview
| Artifact ID: | f0d66cd3fee514a6f0d7a529cd24321352afc86b860ba6e1f0721f184745db58 |
|---|---|
| Ticket: | 4dc35e0c0cf24b4a997556b70396d998ebb6adfe
auto_execok on windows not always using absolute path |
| User & Date: | juliannoble2 on 2025-01-25 18:11:55 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-plain"
- comment changed to:
When auto_execok on a command is first run when cwd is the folder containing the executable - autoexec_ok populates ::auto_execs with a relative path (not normalized) This means that when the current directory is changed - the cached value is wrong and the executable isn't found. This seems to be a change from earlier Tcl versions. c:\Windows\System32>tclsh % auto_execok cmd.exe C:/Windows/System32/cmd.exe % cd .. % cmd.exe /c # (no problem) c:\Windows\System32>tclsh90 % auto_execok cmd.exe ./cmd.exe % cd .. % cmd.exe /c couldn't execute ".\cmd.exe": no such file or directory
- foundin changed to: "9"
- is_private changed to: "0"
- login: "juliannoble2"
- priority changed to: "5 Medium"
- private_contact changed to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "juliannoble2"
- subsystem changed to: "- New Builtin Commands"
- title changed to:
auto_execok on windows not always using absolute path
- type changed to: "Bug"