diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2010-06-18 12:43:51 (GMT) |
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2010-06-18 12:43:51 (GMT) |
| commit | 39f5ae08dbd3c7897f6644d64afbe55174fe06dd (patch) | |
| tree | 22ffbf710af70b2c2367588f9361c6baef82b619 /library/init.tcl | |
| parent | 7b5966adf7687fcc3a373aa7ad7edb09f86c304f (diff) | |
| download | tcl-39f5ae08dbd3c7897f6644d64afbe55174fe06dd.zip tcl-39f5ae08dbd3c7897f6644d64afbe55174fe06dd.tar.gz tcl-39f5ae08dbd3c7897f6644d64afbe55174fe06dd.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 3fce52f..87eb659 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.104.2.13 2009/11/03 19:21:38 dgp Exp $ +# RCS: @(#) $Id: init.tcl,v 1.104.2.14 2010/06/18 12:43:51 dkf Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1996 Sun Microsystems, Inc. @@ -659,7 +659,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} { |
