diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-10-19 11:47:30 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-10-20 23:07:37 +0200 |
commit | c5d83bee93542427f7b680554bcf947d0ae6dae6 (patch) | |
tree | b0a845c4e0c5995a0ef754ad4ec126ee42a67c9e /guix/scripts | |
parent | 00ff6f7c399670a76efffb91276dea2633cc130c (diff) |
environment: Update docstring of 'launch-environment'.
This is a followup to 78d55b703d155d36520e1c93dc08a6502c56bd55.
Reported by Maxim Cournoyer.
* guix/scripts/environment.scm (launch-environment): Update docstring.
Diffstat (limited to 'guix/scripts')
-rw-r--r-- | guix/scripts/environment.scm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index c53912ed54..56f05d1cc3 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -448,11 +448,11 @@ and suitable for 'exit'." (define* (launch-environment command profile manifest #:key pure? (white-list '()) emulate-fhs?) - "Run COMMAND in a new environment containing INPUTS, using the native search -paths defined by the list PATHS. When PURE?, pre-existing environment -variables are cleared before setting the new ones, except those matching the -regexps in WHITE-LIST. When EMULATE-FHS?, first set up an FHS environment -with $PATH and generate the LD cache." + "Load the environment of PROFILE, which corresponds to MANIFEST, and execute +COMMAND. When PURE?, pre-existing environment variables are cleared before +setting the new ones, except those matching the regexps in WHITE-LIST. When +EMULATE-FHS?, first set up an FHS environment with $PATH and generate the LD +cache." ;; Properly handle SIGINT, so pressing C-c in an interactive terminal ;; application works. (sigaction SIGINT SIG_DFL) |