Re: [PATCH] (Updated) Exec git programs without using PATH.

From: Linus Torvalds <torvalds@osdl.org>
Date: 2006-01-12 07:42:35
On Wed, 11 Jan 2006, Junio C Hamano wrote:
> 
> For your (primarily Michal, but other interested parties as
> well) reference, here is the diff between your patch in the
> message I am replying to and what I placed in the "pu" branch
> last night.

Tangentially related note: maybe we should try to move to a "spawn()" like 
interface so that it could port better to native Windows interfaces?

Even under Linux, using vfork()+exec() is actually faster than a regular 
fork/exec, so there are potential advantages.

The real advantage of fork+exec is how you can do arbitrary setup between 
the two, without needing insanely complex rules for file descriptors etc. 
But maybe we don't have tons of those issues?

		Linus
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Thu Jan 12 07:43:12 2006

This archive was generated by hypermail 2.1.8 : 2006-01-12 07:44:51 EST