diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-05-28 17:27:29 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-06-13 09:55:23 +0000 |
| commit | 755f96321ab47f931d11680027d47d1d772f5584 (patch) | |
| tree | bf35e0c7ca5b15640513b2ad3f470c29a6127267 /slave.h | |
| parent | commands: scroll up: simplify viewport clamping logic (diff) | |
config: add a new ‘environment’ section
This section allows the user to define custom environment variables to
be set in the child process:
[environment]
name=value
Diffstat (limited to 'slave.h')
| -rw-r--r-- | slave.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -3,9 +3,11 @@ #include <sys/types.h> +#include "config.h" #include "user-notification.h" pid_t slave_spawn( int ptmx, int argc, const char *cwd, char *const *argv, char *const *envp, - const char *term_env, const char *conf_shell, bool login_shell, + const env_var_list_t *extra_env_vars, const char *term_env, + const char *conf_shell, bool login_shell, const user_notifications_t *notifications); |
