Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
run-command: introduce CHILD_PROCESS_INIT
[gitweb.git]
/
run-command.h
diff --git
a/run-command.h
b/run-command.h
index ea73de309bc65c3d00bb34ad84824ba72d85cbfe..5484400aa6044a6c24ab444ebf0af06404863712 100644
(file)
--- a/
run-command.h
+++ b/
run-command.h
@@
-44,6
+44,8
@@
struct child_process {
unsigned clean_on_exit:1;
};
+#define CHILD_PROCESS_INIT { NULL, ARGV_ARRAY_INIT }
+
int start_command(struct child_process *);
int finish_command(struct child_process *);
int run_command(struct child_process *);