diff options
author | Richard M. Stallman <rms@gnu.org> | 2004-09-20 15:26:00 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 2004-09-20 15:26:00 +0000 |
commit | 9cad18987b43d4c931303c314a4f47c6245d4fd2 (patch) | |
tree | ec11f21aaf51061261f685ada7787ffcfca8704c /man/building.texi | |
parent | a08b59c91f0e684c0f6306ebb044dacb3bcce3b7 (diff) | |
download | emacs-9cad18987b43d4c931303c314a4f47c6245d4fd2.tar.gz |
(Compilation): Explain how to make a silent subprocess that won't be
terminated. Explain compilation-environment.
Diffstat (limited to 'man/building.texi')
-rw-r--r-- | man/building.texi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/man/building.texi b/man/building.texi index b3d4659a402..972f88abbde 100644 --- a/man/building.texi +++ b/man/building.texi @@ -128,6 +128,21 @@ echo first message wait $pid # @r{Wait for subprocess} @end example + If the background process does not output to the compilation buffer, +so you only need to prevent it from being killed when the main +compilation process terminates, this is sufficient: + +@example +nohup @var{command}; sleep 1 +@end example + +@vindex compilation-environment + You can control the environment passed to the compilation command +with the variable @code{compilation-environment}. Its value is a list +of environment variable settings; each element should be a string of +the form @code{"@var{envvarname}=@var{value}"}. These environment +variable settings override the usual ones. + @node Grep Searching @section Searching with Grep under Emacs |