Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'run-command.h')
-rw-r--r--run-command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/run-command.h b/run-command.h
index f9db2a7f8c..24cdb4eb19 100644
--- a/run-command.h
+++ b/run-command.h
@@ -12,11 +12,14 @@ enum {
struct child_process {
const char **argv;
+ pid_t pid;
unsigned no_stdin:1;
unsigned git_cmd:1; /* if this is to be git sub-command */
unsigned stdout_to_stderr:1;
};
+int start_command(struct child_process *);
+int finish_command(struct child_process *);
int run_command(struct child_process *);
#define RUN_COMMAND_NO_STDIN 1