run-command: introduce CHILD_PROCESS_INIT
[gitweb.git] / run-command.h
index ea73de309bc65c3d00bb34ad84824ba72d85cbfe..5484400aa6044a6c24ab444ebf0af06404863712 100644 (file)
@@ -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 *);