Re: [PATCH] (Updated) Exec git programs without using PATH.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Jan 11, 2006, 21:32 UTC
- Message-ID
- <7vk6d6qwmn.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <1137014812.11717.669.camel@brick.watson.ibm.com>
Michal Ostrowski <mostrows@watson.ibm.com> writes:
Show 8 quoted lines
> I briefly tried to consider if I could hide the various fork()+exec() > sequences behind something like the run_command*() interfaces (which > would move us down the direction of something "spawn()"-like). I found > that there's a lot of variation between the various paths in terms of > what happens between fork() and exec() on the various paths that does > not lend itself to such consolidation. > > I'd love to be convinced otherwise.
Unfortunately I am with Michal on this one (both "eh, I do not think that is feasible" and "I'd love to be...").
The run_command*() interfaces and its users were the best I could come up with as far as such consolidations could go when I did it.