X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=run-command.h;h=ef3ee053dee4e60db1887020c8ab8840027ff649;hb=8e1618f9612a78ea09b2a926797c781fe06027c9;hp=4f646139e5386d6f34d6cd777473876e17ab8d66;hpb=b1bf95bba26c8de1581f401dcab1f743bad7fc1d;p=git.git diff --git a/run-command.h b/run-command.h index 4f646139..ef3ee053 100644 --- a/run-command.h +++ b/run-command.h @@ -11,6 +11,10 @@ enum { ERR_RUN_COMMAND_WAITPID_NOEXIT, }; +#define RUN_COMMAND_NO_STDIO 1 +#define RUN_GIT_CMD 2 /*If this is to be git sub-command */ +int run_command_v_opt(int argc, char **argv, int opt); +int run_command_v(int argc, char **argv); int run_command(const char *cmd, ...); #endif