diff --git a/run-command.h b/run-command.h
index 5203a9ebb10b14bd06862abafed0ab73d7514a3d..a8b0c209e9b7487ce3c2b214cbebe7ad4f97fd11 100644 (file)
--- a/run-command.h
+++ b/run-command.h
unsigned no_stderr:1;
unsigned git_cmd:1; /* if this is to be git sub-command */
unsigned stdout_to_stderr:1;
+ void (*preexec_cb)(void);
};
int start_command(struct child_process *);
#define RUN_GIT_CMD 2 /*If this is to be git sub-command */
#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".