Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d8a9ee34e07a84ab19e26ea6c2826beaddf4708d
Ticket: 217810ffffffffffffffffffffffffffffffffff
auto_execok fails to deal with spaces in PATH directories co
User & Date: nobody on 2000-10-26 00:43:59
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 1291 Bug
    Version: 8.0.5
    SubmitDate: '1999-02-24'
    LastModified: '1999-08-07'
    Severity: SER
    Status: Closed
    Submitter: welch
    ChangedBy: hobbs
    RelatedBugIDs: 1261 1276
    OS: All
    OSVersion: NA
    Machine: NA
    FixedDate: '2000-10-25'
    FixedInVersion: NA
    ClosedDate: '1999-08-07'
    
    
    Two related problems.
    On UNIX, create a directory named "/something/has space/bin"
    puts an executable file in there, say "prog"
    Add that directory to your env(PATH).
    Now do 
    auto_execok prog
    the result is
    {/soemthing/has space/bin/prog}
    the bug is there is an extra level of listing being done.
    
    Second issue.
    On Windows, with "c:/program files/mumble" on your path, and you do
    auto_execok prog
    and "c:/program files/mumble/prog.exe" exists, auto_execok fails to find it.
    In contrast, if "c:/nospace/mumble" is on your path, then auto_execok will find
    the corresponding .exe file.
    
    
    
  4. foundin changed to: "final: 8.0.5"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "60. NRE and coroutines"
  10. title changed to:
    auto_execok fails to deal with spaces in PATH directories co
    
  11. type changed to: "Bug"