diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-03-10 03:28:08 -0500 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-03-11 22:49:40 -0700 |
commit | 4919bf0354e2a1cfb948c320d45d51319ada30eb (patch) | |
tree | bddf46980c357a1ebcde086a9ff7284465cc6acc /t/t4101/diff.2-0 | |
parent | Split run_command into two halves (start/finish) (diff) | |
download | tgif-4919bf0354e2a1cfb948c320d45d51319ada30eb.tar.xz |
Teach run_command how to setup a stdin pipe
Sometimes callers trying to use run_command to execute a child
process will want to setup a pipe or file descriptor to redirect
into the child's stdin.
This idea is completely stolen from builtin-bundle's fork_with_pipe,
written by Johannes Schindelin. All credit (and blame) should lie
with Dscho. ;-)
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 't/t4101/diff.2-0')
0 files changed, 0 insertions, 0 deletions