run-command: Allow stderr to be a caller supplied pipe
commit4f41b611481bad08319966f7787fc7c4c7bfaa52
authorShawn O. Pearce <spearce@spearce.org>
Fri, 5 Feb 2010 20:57:37 +0000 (5 12:57 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sat, 6 Feb 2010 04:57:16 +0000 (5 20:57 -0800)
tree3a333aed6eefc5c10742efc2dce64741e3fdc837
parent2b26e0e18907132eaac2a8163de0cac552217082
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>
Documentation/technical/api-run-command.txt
run-command.c
run-command.h