author | Shawn O. Pearce <spearce@spearce.org> | |
Mon, 12 Mar 2007 18:37:45 +0000 (14:37 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 13 Mar 2007 06:40:17 +0000 (23:40 -0700) | ||
commit | f4bba25bdc0ecb4ac338de81a2a65af487701833 | |
tree | c589a5069a36db7941e3b3648a8e3dbb4978a914 | tree | snapshot |
parent | 27ebd6e0443bdd795869f598ecebc9eadd64a26c | commit | diff |
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>
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 | diff | blob | history | |
run-command.h | diff | blob | history |