Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d0a044c0df964c689f907606dc7018c0d1779698b260c4f6a6a8d3a33509051c
Ticket: 4dc35e0c0cf24b4a997556b70396d998ebb6adfe
auto_execok on windows not always using absolute path
User & Date: juliannoble2 on 2025-01-26 18:28:04
Changes

  1. icomment:
    >The resolution from PATH is normalized because the PATH elements were normalized. Duh.
    
    Except that auto_execok has the line:
     set path "[file dirname [info nameof]];.;"
    
    before it adds PATH elements to $path - and $path items then aren't normalized.
    
    I wonder a bit at the executable directory coming before the CWD.
    My expectation would be for the CWD to take precedence - but perhaps there's a good reason for it that I'm not considering.
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"