Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b454f74b159bc2a4db4713e3a863897e2fce806e
Ticket: 3017997fffffffffffffffffffffffffffffffff
batch files with the extension .cmd are not handled by exec
User & Date: arjenmarkus on 2010-06-18 11:42:37
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. 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]
    
  4. foundin changed to: "obsolete: 8.5.8"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "arjenmarkus"
  10. subsystem changed to: "16. Commands A-H"
  11. title changed to:
    batch files with the extension .cmd are not handled by exec
    
  12. type changed to: "Bug"