128 |
wait $pid # @r{Wait for subprocess} |
wait $pid # @r{Wait for subprocess} |
129 |
@end example |
@end example |
130 |
|
|
131 |
|
If the background process does not output to the compilation buffer, |
132 |
|
so you only need to prevent it from being killed when the main |
133 |
|
compilation process terminates, this is sufficient: |
134 |
|
|
135 |
|
@example |
136 |
|
nohup @var{command}; sleep 1 |
137 |
|
@end example |
138 |
|
|
139 |
|
@vindex compilation-environment |
140 |
|
You can control the environment passed to the compilation command |
141 |
|
with the variable @code{compilation-environment}. Its value is a list |
142 |
|
of environment variable settings; each element should be a string of |
143 |
|
the form @code{"@var{envvarname}=@var{value}"}. These environment |
144 |
|
variable settings override the usual ones. |
145 |
|
|
146 |
@node Grep Searching |
@node Grep Searching |
147 |
@section Searching with Grep under Emacs |
@section Searching with Grep under Emacs |
148 |
|
|