diff options
| author | donal.k.fellows@manchester.ac.uk <dkf> | 2012-04-27 08:49:40 (GMT) | 
|---|---|---|
| committer | donal.k.fellows@manchester.ac.uk <dkf> | 2012-04-27 08:49:40 (GMT) | 
| commit | e77df0de70554a45c37f813058658b143cbffd2d (patch) | |
| tree | 9daa8eb83ff170ef8ed6d252a1b78cf8ec482d99 /library/init.tcl | |
| parent | ea6ce057bd6d13f118a76961322e7a68578ec8f9 (diff) | |
| parent | 377991dcbaad3b4e137d3c5452f84b56f7b47c02 (diff) | |
| download | tcl-e77df0de70554a45c37f813058658b143cbffd2d.zip tcl-e77df0de70554a45c37f813058658b143cbffd2d.tar.gz tcl-e77df0de70554a45c37f813058658b143cbffd2d.tar.bz2  | |
Make 'auto_execok START' do the Right Thing
Diffstat (limited to 'library/init.tcl')
| -rw-r--r-- | library/init.tcl | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/library/init.tcl b/library/init.tcl index 389f319..28689ab 100644 --- a/library/init.tcl +++ b/library/init.tcl @@ -660,7 +660,7 @@ proc auto_execok name {  	set execExtensions [list {} .com .exe .bat .cmd]      } -    if {$name in $shellBuiltins} { +    if {[string tolower $name] in $shellBuiltins} {  	# When this is command.com for some reason on Win2K, Tcl won't  	# exec it unless the case is right, which this corrects.  COMSPEC  	# may not point to a real file, so do the check.  | 
