[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding the dump
From: |
Richard Stallman |
Subject: |
Re: Finding the dump |
Date: |
Thu, 31 Jan 2019 19:23:58 -0500 |
[[[ To any NSA and FBI agents reading my email: please consider ]]]
[[[ whether defending the US Constitution against all enemies, ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]
What do people think of this?
@node Finding the Executable
@section Finding the Executable
If the program wants to relaunch itself, or find other files that correspond
to its executable file, it should check @code{argv[0]}. If that string
contains a slash, it is the file name of the executable and its directory
part says where to find other related files.
If there is no slash, you should search for the executable in the
directories in @envvar{PATH}, and other related files should be in
the installation directory for the program's version.
@c ??? Someone please add a cross reference to info about that.
Any program that needs to know the location of its executable or that
of other associated files should offer the user an option to specify
another location.
--
Dr Richard Stallman
President, Free Software Foundation (https://gnu.org, https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)
- Re: Finding the dump, (continued)
- Re: Finding the dump, Andreas Schwab, 2019/01/27
- Re: Finding the dump, Paul Eggert, 2019/01/27
- Re: Finding the dump, Daniel Colascione, 2019/01/27
- Re: Finding the dump, Paul Eggert, 2019/01/27
- Re: Finding the dump, Daniel Colascione, 2019/01/27
- Re: Finding the dump, Richard Stallman, 2019/01/28
- Re: Finding the dump, Paul Eggert, 2019/01/28
- Re: Finding the dump, Stefan Monnier, 2019/01/28
- Re: Finding the dump, Richard Stallman, 2019/01/29
- Re: Finding the dump, Paul Eggert, 2019/01/30
- Re: Finding the dump,
Richard Stallman <=
- Re: Finding the dump, Paul Eggert, 2019/01/31
- Re: Finding the dump, Eli Zaretskii, 2019/01/27
- Re: Finding the dump, Paul Eggert, 2019/01/27
- Re: Finding the dump, Daniel Colascione, 2019/01/28
- Re: Finding the dump, Eli Zaretskii, 2019/01/28
- Re: Finding the dump, Paul Eggert, 2019/01/28
- Re: Finding the dump, Daniel Colascione, 2019/01/28
- Re: Finding the dump, Paul Eggert, 2019/01/28
- Re: Finding the dump, Daniel Colascione, 2019/01/28
- Re: Finding the dump, Stefan Monnier, 2019/01/28