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

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

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:16

Andreas Ericsson wrote:
Not being entirely knowledgeable on what spawn() actually does and how 
its semantics differ from fork() and exec*() style API's (Google was 
depressingly unhelpful and wikipedia dredged up froglings...), I've got 
a decent "clone-lots-of-processes-and-multiplex-between-them" kind of 
library lying around. Would it be of any use?

 From the prototypes I've seen on spawn it doesn't seem to be much more 
than a fork() + execve(), either closing or dup2'ing all the 
file-descriptors, so I don't understand why that couldn't be implemented 
for git. Some pointers, anyone?
RTFM(posix_spawn)...

	-hpa
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help