diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2010-06-18 12:41:40 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2010-06-18 12:41:40 (GMT) |
commit | b959e69e2efe23f4904f8ebcb2c6638af32aeb4a (patch) | |
tree | c8fb09b503ffd8cad30c213e88d29454d095dffb /library/init.tcl | |
parent | 895f05f712393e5e7629384b1690690c6f866974 (diff) | |
download | tcl-b959e69e2efe23f4904f8ebcb2c6638af32aeb4a.zip tcl-b959e69e2efe23f4904f8ebcb2c6638af32aeb4a.tar.gz tcl-b959e69e2efe23f4904f8ebcb2c6638af32aeb4a.tar.bz2 |
* library/init.tcl (auto_execok): [Bug 3017997]: Add .cmd to the
default list of extensions that we can execute interactively.
Diffstat (limited to 'library/init.tcl')
-rw-r--r-- | library/init.tcl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/init.tcl b/library/init.tcl index 6bab1d1..cfcc62f 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -3,7 +3,7 @@ # Default system startup file for Tcl-based applications. Defines # "unknown" procedure and auto-load facilities. # -# RCS: @(#) $Id: init.tcl,v 1.125 2010/06/14 14:56:50 nijtmans Exp $ +# RCS: @(#) $Id: init.tcl,v 1.126 2010/06/18 12:41:42 dkf Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -650,7 +650,7 @@ proc auto_execok name { # Add an initial ; to have the {} extension check first. set execExtensions [split ";$env(PATHEXT)" ";"] } else { - set execExtensions [list {} .com .exe .bat] + set execExtensions [list {} .com .exe .bat .cmd] } if {$name in $shellBuiltins} { |