Thread (10 messages) flat view 10 messages, 4 authors, 2016-06-15

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

From: Linus Torvalds <torvalds@osdl.org>
Date: 2016-06-15 22:42:16

Possibly related (same subject, not in this thread)


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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help