Tcl Source Code

View Ticket
Login
Ticket UUID: 402719
Title: Support PATHEXT properly in auto_execok
Type: Patch Version: None
Submitter: hobbs Created on: 2000-12-08 02:08:07
Subsystem: 52. Portability Support Assigned To: aku
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2016-08-22 08:14:04
Resolution: None Closed By: dkf
    Closed on: 2016-08-22 08:14:04
User Comments: hobbs added on 2000-12-10 07:47:59:
Commited 12/08/2000.

dgp added on 2000-12-09 00:23:43:
Agreed.  Make it so.

andreas_kupries added on 2000-12-08 20:17:24:
Looks good. Go.

hobbs added on 2000-12-08 11:18:51:
Windows has a formal env var for specifying file extensions that belong to executable files (PATHEXT).  However, auto_execok has a builtin list instead.  This patch corrects that, picking up PATHEXT when available.  It passes all tests.

Attachments: