diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-14 08:23:53 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-08-14 08:23:53 (GMT) |
commit | 927ddd336a7df009926978b4a107d8c37a53cdeb (patch) | |
tree | bb84ca16b8b76a5599b73bde8b969a767735fe53 /doc/FindExec.3 | |
parent | fae17047ec3461d9defd288d7540befdae878f46 (diff) | |
download | tcl-927ddd336a7df009926978b4a107d8c37a53cdeb.zip tcl-927ddd336a7df009926978b4a107d8c37a53cdeb.tar.gz tcl-927ddd336a7df009926978b4a107d8c37a53cdeb.tar.bz2 |
[Patch 3124554]: Move WishPanic from Tk to Tcl
Added Documentation
Diffstat (limited to 'doc/FindExec.3')
-rw-r--r-- | doc/FindExec.3 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/FindExec.3 b/doc/FindExec.3 index 0e225e9..66cc1f1 100644 --- a/doc/FindExec.3 +++ b/doc/FindExec.3 @@ -45,6 +45,13 @@ application's executable, if possible. If it fails to find the binary, then future calls to \fBinfo nameofexecutable\fR will return an empty string. .PP +On Windows platforms this procedure is typically invoked as the very +first thing in the application's main program as well; Its \fIargv[0]\fR +argument is only used to indicate wheter the executable has a stderr +channel (any non-null value) or not (the value null). If \fBTcl_SetPanicProc\fR +is never called and no debugger is running, this determines whether +the panic message is sent to stderr or to a standard system dialog. +.PP \fBTcl_GetNameOfExecutable\fR simply returns a pointer to the internal full path name of the executable file as computed by \fBTcl_FindExecutable\fR. This procedure call is the C API |