From: H. Peter Anvin Date: Thu, 12 Jan 2006 05:38:39 GMT Subject: Re: [PATCH] (Updated) Exec git programs without using PATH. Message-ID: <43C5EB5F.6000402@zytor.com> In-Reply-To: <43C59EC6.6070905@op5.se> 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