Replace fork_with_pipe in bundle with run_command
authorShawn O. Pearce <spearce@spearce.org>
Mon, 12 Mar 2007 23:00:11 +0000 (19:00 -0400)
committerJunio C Hamano <junkio@cox.net>
Tue, 13 Mar 2007 06:40:17 +0000 (23:40 -0700)
commitb1daf300d0f56a01e5800a3d989b4cb150d99140
tree0d9cb3a1b93065509b3a74c20b56b2e81fc64dc1
parente4507ae84ed04c835b66f77195a0549b72f99c39
Replace fork_with_pipe in bundle with run_command

Now that the run_command family supports all of the redirection
modes needed by builtin-bundle, we can use those functions rather
than the underlying POSIX primitives.  This should help to make the
bundle command slightly more portable to other systems, like Windows.

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