]> git.ipfire.org Git - thirdparty/git.git/blobdiff - run-command.h
Teach run-command about stdout redirection
[thirdparty/git.git] / run-command.h
index ff090679a6fecd66bda4fba804a8ab6555571aa9..1c9126b875970f9739597ef871d9ad19da2cbc14 100644 (file)
@@ -15,7 +15,9 @@ struct child_process {
        const char **argv;
        pid_t pid;
        int in;
+       int out;
        unsigned close_in:1;
+       unsigned close_out:1;
        unsigned no_stdin:1;
        unsigned git_cmd:1; /* if this is to be git sub-command */
        unsigned stdout_to_stderr:1;