commit | ebcb5d16ca911d5e21bb8071c185fb47a0c1fbb3 | [log] [tgz] |
---|---|---|
author | Shawn O. Pearce <spearce@spearce.org> | Sat Mar 10 03:28:05 2007 -0500 |
committer | Junio C Hamano <junkio@cox.net> | Sun Mar 11 22:49:37 2007 -0700 |
tree | cb912d237836c26730119693c2b252b4b9ae18fb | |
parent | f1000898d43a30f6a0d3bbde7b4927e97913d010 [diff] |
Split run_command into two halves (start/finish) If the calling process wants to send data to stdin of a child process it will need to arrange for a pipe and get the child process running, feed data to it, then wait for the child process to finish. So we split the run function into two halves, allowing callers to first start the child then later finish it. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <junkio@cox.net>