summaryrefslogtreecommitdiff
path: root/run-command.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-02-05 20:57:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-02-06 04:57:16 (GMT)
commit4f41b611481bad08319966f7787fc7c4c7bfaa52 (patch)
tree3a333aed6eefc5c10742efc2dce64741e3fdc837 /run-command.h
parent2b26e0e18907132eaac2a8163de0cac552217082 (diff)
downloadgit-4f41b611481bad08319966f7787fc7c4c7bfaa52.zip
git-4f41b611481bad08319966f7787fc7c4c7bfaa52.tar.gz
git-4f41b611481bad08319966f7787fc7c4c7bfaa52.tar.bz2
run-command: Allow stderr to be a caller supplied pipe
Like .out, .err may now be set to a file descriptor > 0, which is a writable pipe/socket/file that the child's stderr will be redirected into. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'run-command.h')
-rw-r--r--run-command.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/run-command.h b/run-command.h
index fb34209..a29171a 100644
--- a/run-command.h
+++ b/run-command.h
@@ -18,7 +18,7 @@ struct child_process {
* - Specify > 0 to set a channel to a particular FD as follows:
* .in: a readable FD, becomes child's stdin
* .out: a writable FD, becomes child's stdout/stderr
- * .err > 0 not supported
+ * .err: a writable FD, becomes child's stderr
* The specified FD is closed by start_command(), even in case
* of errors!
*/