diff options
Diffstat (limited to 'run-command.h')
-rw-r--r-- | run-command.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h index af1e0bf178..7958eb1e0b 100644 --- a/run-command.h +++ b/run-command.h @@ -35,6 +35,11 @@ int run_command(struct child_process *); #define RUN_COMMAND_STDOUT_TO_STDERR 4 int run_command_v_opt(const char **argv, int opt); int run_command_v_opt_cd(const char **argv, int opt, const char *dir); + +/* + * env (the environment) is to be formatted like environ: "VAR=VALUE". + * To unset an environment variable use just "VAR". + */ int run_command_v_opt_cd_env(const char **argv, int opt, const char *dir, const char *const *env); #endif |