Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 14974c9cbd71184558737b08c387066b0241a7c981caf56d3e704a582ec671bf
Ticket: 596936dd2d55ba70dcdc980b9f58b3dccf248605
auto_execok uses cmd in preference to cmd.exe despite path order (windows)
User & Date: juliannoble2 on 2023-11-06 07:16:03
Changes

  1. icomment:
    I did another test by copying whoami.exe to the last folder in my path and renaming it to whoami123.exe
    
    I ran unset auto_execs and then time {whoami123} a few times.
    
    Time for first run went from around 180ms for the original version to 190ms to the new code version. 
    
    For executables earlier in the path - the new version is considerably faster than the old version - it only gets slightly worse for executables way down in the path list.
    
  2. login: "juliannoble2"
  3. mimetype: "text/plain"