summaryrefslogtreecommitdiffstats
path: root/doc/FindExec.3
diff options
context:
space:
mode:
authorMiguel Sofer <miguel.sofer@gmail.com>2001-09-28 17:07:54 (GMT)
committerMiguel Sofer <miguel.sofer@gmail.com>2001-09-28 17:07:54 (GMT)
commitdc467cf4414604d1f762cf8dd3c9a1e6cb2f53f0 (patch)
tree9867271217e138656a07667c5c91e7b41f6e93a1 /doc/FindExec.3
parentd06893d67469c6e5b6dcdc0f219281fc5c45aa2f (diff)
downloadtcl-dc467cf4414604d1f762cf8dd3c9a1e6cb2f53f0.zip
tcl-dc467cf4414604d1f762cf8dd3c9a1e6cb2f53f0.tar.gz
tcl-dc467cf4414604d1f762cf8dd3c9a1e6cb2f53f0.tar.bz2
Edited docs of Tcl_GetNameOfExecutable [Bug 219215]
Diffstat (limited to 'doc/FindExec.3')
-rw-r--r--doc/FindExec.36
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/FindExec.3 b/doc/FindExec.3
index f9d6d14..3e54acd 100644
--- a/doc/FindExec.3
+++ b/doc/FindExec.3
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: FindExec.3,v 1.4 2000/03/03 02:57:37 hobbs Exp $
+'\" RCS: @(#) $Id: FindExec.3,v 1.5 2001/09/28 17:07:54 msofer Exp $
'\"
.so man.macros
.TH Tcl_FindExecutable 3 8.1 Tcl "Tcl Library Procedures"
@@ -39,7 +39,9 @@ It is also returned by the \fBinfo nameofexecutable\fR command.
.PP
On UNIX platforms this procedure is typically invoked as the very
first thing in the application's main program; it must be passed
-\fIargv[0]\fR as its argument. \fBTcl_FindExecutable\fR uses \fIargv0\fR
+\fIargv[0]\fR as its argument. It is important not to change the
+working directory before the invocation.
+\fBTcl_FindExecutable\fR uses \fIargv0\fR
along with the \fBPATH\fR environment variable to find the
application's executable, if possible. If it fails to find
the binary, then future calls to \fBinfo nameofexecutable\fR