file executable on Windows should return 1 for .cmd and .ps1 extensions
Closed / Fixed5d7ea0458069d6ddcd81920f4a559836ee73e624Created 10 years agoUpdated 10 years ago
Descriptionplain2016-07-07 05:25:11
On Windows [file executable] returns 1 for .exe, .com and .bat files. It should also return 1 for .cmd and .ps1 (powershell).
Referenced by3
7843c5472d(cherry-pick): Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows. check-in2016-07-08 12:38:35ded621ba1eMerge core-8-6-branch: New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows check-in2016-07-07 07:48:53b697ecad74Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows. check-in2016-07-07 06:30:58
apnadkarniplain2016-07-07 05:26:56
Fix is to add those extensions to tclWinFile.c/NativeIsExec. Will commit shortly.
apnadkarniplain2016-07-07 06:32:17
Fixed in check-in [b697ecad74]
jan.nijtmans Closed ticket [5d7ea04580].
[History diff]2016-07-08 06:52:00
Log in (anonymous is fine) to add a comment.