Skip to content
Tcl Source Code History Of Ticket 3017997fffffffff
Login

History Of Ticket 3017997fffffffff

Artifacts Associated With Ticket 3017997fffffffff

  1. Ticket change [b454f74b15] (rid 125013) by arjenmarkus on 2010-06-18 11:42:37:

    1. assignee initialized to: "dkf"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      In the clt newsgroup I wrote:
      
      we ran into a small issue with [exec] on Windows: 
      In a DOS-box you can simply type a.cmd and the batch file is run. But [exec] gives the message: 
      
      couldn't execute "a.cmd": no such file or directory 
      
      [auto_execok a.cmd] simply returns "./a.cmd" and that gives the same message. 
      
      You can run it by explicitly running it via cmd.exe: 
      
      exec cmd.exe /c a.cmd 
      
      It seems a bug (or perhaps better: an omission) in auto_execok. 
      
      Batch files with the extension .bat are handled properly by [exec]
      
    4. foundin initialized to: "obsolete: 8.5.8"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "arjenmarkus"
    10. subsystem initialized to: "16. Commands A-H"
    11. title initialized to:
      batch files with the extension .cmd are not handled by exec
      
    12. type initialized to: "Bug"
  2. Ticket change [b9989e608f] (rid 129172) by dkf on 2010-06-18 19:45:12:

    1. closedate changed to: "2010-06-18T12:45:12"
    2. closer changed to: "dkf"
    3. icomment:
      
      
      allow_comments - 1
      
      Interesting, that means they must have not set the PATHEXT environment variable.
      
      .cmd now added to the default list on 8.5 and HEAD branches.
      
      
    4. login: "dkf"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "dkf"
  3. Ticket change [ecebca20ba] (rid 103793) by dkf on 2010-06-18 19:59:53:

    1. icomment:
      
      
      allow_comments - 0
      
      Whoops! Wasn't aware that that was not enough. Needs a round of lookup through the registry. :-(
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. resolution changed to: "None"
    5. status changed to: "Open"
    6. subsystem changed to: "38. Init - Library - Autoload"
    7. username: "dkf"
  4. Ticket change [bd68001ab8] (rid 101897) by dkf on 2010-06-18 20:22:09:

    1. assignee changed to: "hobbs"
    2. icomment:
      I've forgotten too much of the details.
      
      
    3. login: "dkf"
    4. mimetype: "text/plain"
    5. username: "dkf"
  5. Ticket change [1f9207d217] (rid 91167) by homay2 on 2013-02-22 17:07:51:

    1. icomment:
      Still exists in Tcl 8.6.0.
      Steps to reproduce:
      Create 2 files with the following contents:
      g:/lala.cmd:
         @start /wait cmd /c echo hello^&pause
      g:/lala.tcl:
         puts $env(PATHEXT); exec [auto_execok g:/lala]
      Run g:/lala.tcl. Result:
        .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
        couldn't execute "g:\lala.CMD": no such file or directory ...
      Now rename g:/lala.cmd -> g:/lala.bat, and run g:/lala.tcl again. 
      Result: the lala.bat batch runs as expected.
      
      
    2. login: "homay2"
    3. mimetype: "text/plain"
    4. username: "homay2"
  6. Ticket change [58170da7f7] (rid 237224) by apnadkarni on 2025-01-26 06:49:55:

    1. assignee changed to: "aku"
    2. closedate changed to: "2460701.78466535"
    3. closer changed to: "apnadkarni"
    4. comment changed to:
      In the clt newsgroup I wrote:
      
      we ran into a small issue with [exec] on Windows: 
      In a DOS-box you can simply type a.cmd and the batch file is run. But [exec] gives the message: 
      
      couldn't execute "a.cmd": no such file or directory 
      
      [auto_execok a.cmd] simply returns "./a.cmd" and that gives the same message. 
      
      You can run it by explicitly running it via cmd.exe: 
      
      exec cmd.exe /c a.cmd 
      
      It seems a bug (or perhaps better: an omission) in auto_execok. 
      
      Batch files with the extension .bat are handled properly by [exec]
      
    5. icomment: "Obsolete. Fixed in 8.6. Closing."
    6. login: "apnadkarni"
    7. mimetype: "text/plain"
    8. severity changed to: "Minor"
    9. status changed to: "Closed"