Teach run-command about stdout redirection
authorShawn O. Pearce <spearce@spearce.org>
Mon, 12 Mar 2007 18:37:45 +0000 (14:37 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 13 Mar 2007 06:40:17 +0000 (23:40 -0700)
commitf4bba25bdc0ecb4ac338de81a2a65af487701833
treec589a5069a36db7941e3b3648a8e3dbb4978a914
parent27ebd6e0443bdd795869f598ecebc9eadd64a26c
Teach run-command about stdout redirection

Some potential callers of the run_command family of functions need
to control not only the stdin redirection of the child, but also
the stdout redirection of the child.  This can now be setup much
like the already existing stdin redirection.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
run-command.c
run-command.h