Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4c3b7391b4408e61d226089fbf4b7ec4b20512769facb80b39a6e8a077169e47
Ticket: 1a89eba3761f62eeb9b75139260f00281366592c
Add "exit" Windows shell built-in to auto_execok
User & Date: andy on 2021-07-13 22:19:12
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-wiki"
  4. comment changed to:
    "<tt>exit</tt>" is a Windows shell built-in that is missing from auto_execok.
    
    I expect <tt>[auto_execok exit]</tt> to return <tt>C:/Windows/System32/cmd.exe /c exit</tt>, but instead it returns blank.
    
    I need this because "<tt>exit 1</tt>" is a replacement for the Unix "<tt>false</tt>" command, which I use in a tcltest suite.
    
    Please add "<tt>exit</tt>" to the <tt>shellBuiltins</tt> list appearing in <tt>init.tcl</tt>.
    
  5. foundin changed to: "8.6.11"
  6. is_private changed to: "0"
  7. login: "andy"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "662c23482b0bf6a505f39e48fb7ad43af8dee4d3"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "andy"
  14. subsystem changed to: "38. Init - Library - Autoload"
  15. title changed to: "Add "exit" Windows shell built-in to auto_execok"
  16. type changed to: "Bug"