# HG changeset patch # User Richard M. Stallman # Date 1095693960 0 # Node ID fe97fe43464ad7de7f4bee5a42c4aacbcc455194 # Parent 497f0d2ca551bc180a105d913086e779db565535 (Compilation): Explain how to make a silent subprocess that won't be terminated. Explain compilation-environment. diff -r 497f0d2ca551 -r fe97fe43464a man/building.texi --- a/man/building.texi Mon Sep 20 12:03:05 2004 +0000 +++ b/man/building.texi Mon Sep 20 15:26:00 2004 +0000 @@ -128,6 +128,21 @@ 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