diff options
author | ashok <ashok> | 2016-07-07 06:30:58 (GMT) |
---|---|---|
committer | ashok <ashok> | 2016-07-07 06:30:58 (GMT) |
commit | 0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1 (patch) | |
tree | 6c02f8a6a858f357847f980c4f81293d9de187fb /doc | |
parent | 5afe70d02240e1acbe825478808f3ef27847c025 (diff) | |
download | tcl-0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1.zip tcl-0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1.tar.gz tcl-0aa3b5113db3c6c750aa4bbcfdb657dec48c0de1.tar.bz2 |
Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/file.n | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -162,7 +162,9 @@ returns \fB/home\fR (or something similar). \fBfile executable \fIname\fR . Returns \fB1\fR if file \fIname\fR is executable by the current user, -\fB0\fR otherwise. +\fB0\fR otherwise. On Windows, which does not have an executable attribute, +the command treats all directories and any files with extensions +\fBexe\fR, \fBcom\fR, \fBcmd\fR, \fBbat\fR or \fBps1\fR as executable. .TP \fBfile exists \fIname\fR . |