environment: Update docstring of 'launch-environment'.
This is a followup to 78d55b703d
.
Reported by Maxim Cournoyer.
* guix/scripts/environment.scm (launch-environment): Update docstring.
This commit is contained in:
parent
00ff6f7c39
commit
c5d83bee93
1 changed files with 5 additions and 5 deletions
|
@ -448,11 +448,11 @@ and suitable for 'exit'."
|
||||||
(define* (launch-environment command profile manifest
|
(define* (launch-environment command profile manifest
|
||||||
#:key pure? (white-list '())
|
#:key pure? (white-list '())
|
||||||
emulate-fhs?)
|
emulate-fhs?)
|
||||||
"Run COMMAND in a new environment containing INPUTS, using the native search
|
"Load the environment of PROFILE, which corresponds to MANIFEST, and execute
|
||||||
paths defined by the list PATHS. When PURE?, pre-existing environment
|
COMMAND. When PURE?, pre-existing environment variables are cleared before
|
||||||
variables are cleared before setting the new ones, except those matching the
|
setting the new ones, except those matching the regexps in WHITE-LIST. When
|
||||||
regexps in WHITE-LIST. When EMULATE-FHS?, first set up an FHS environment
|
EMULATE-FHS?, first set up an FHS environment with $PATH and generate the LD
|
||||||
with $PATH and generate the LD cache."
|
cache."
|
||||||
;; Properly handle SIGINT, so pressing C-c in an interactive terminal
|
;; Properly handle SIGINT, so pressing C-c in an interactive terminal
|
||||||
;; application works.
|
;; application works.
|
||||||
(sigaction SIGINT SIG_DFL)
|
(sigaction SIGINT SIG_DFL)
|
||||||
|
|
Reference in a new issue