Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e4d4aa7e602d46fd38bea175bd99ff69105d5a15f8110aec16b7d2bf0f16f969
Ticket: 1244733fffffffffffffffffffffffffffffffff
auto_execok can return relative path names
User & Date: apnadkarni on 2026-05-18 10:28:52
Changes

  1. closedate changed to: "2461178.9367132522"
  2. closer changed to: "apnadkarni"
  3. comment changed to:
    auto_execok can return relative path names.
    
    On Windows, "." is one of the standard search
    directories.  And on Unix, empty directories in the
    path are treated as ".".  In these cases, [file
    executable] is successful, and auto_execok returns
    something like "./myfile"
    
    It works fine until your application changes working
    directory.  Then relative path names are broken.
    
    Perhaps auto_execok should use [file normalize] before
    returning.
    
  4. icomment:
    Fixed for 9.1 in TIP 753 commit [de961e8d](https://core.tcl-lang.org/tcl/info/de961e8dee5470e6).
    
    Paths are not cached - see the TIP and discussion. Tested in `auto_execok-win-6.1`.
    
  5. login: "apnadkarni"
  6. mimetype: "text/plain"
  7. resolution changed to: "Fixed"
  8. severity changed to: "Minor"
  9. status changed to: "Closed"