Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2016-07-08
12:38
(cherry-pick): Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows. check-in: 7843c5472d user: jan.nijtmans tags: core-8-5-branch
06:52 • Closed ticket [5d7ea04580]: file executable on Windows should return 1 for .cmd ... artifact: dbfb838ab0 user: jan.nijtmans
2016-07-07
07:48
Merge core-8-6-branch: New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 ... check-in: ded621ba1e user: jan.nijtmans tags: trunk
06:32 • Ticket [5d7ea04580] file executable on Windows should return 1 for .cmd and .ps1... artifact: 7e03e2f602 user: apnadkarni
06:30
Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows. check-in: b697ecad74 user: ashok tags: core-8-6-branch
05:26 • Ticket [5d7ea04580] file executable on Windows should return 1 for .cmd and .ps1... artifact: b3fe43dbec user: apnadkarni
05:25 • New ticket [5d7ea04580]. artifact: e9c287588d user: apnadkarni

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:35
  • ded621ba1eMerge 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:53
  • b697ecad74Bugfix [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.