On Sun, Dec 14, 2003 at 05:13:30PM +0000, Tor Lillqvist wrote: > Roger Leigh writes: > > They both have to implement fork() using Windows calls though, > > which can never be efficient. > > (Just rambling here:) > > I wonder, could the typical fork() immeditaly followed by exec() (in > the child process) be somehow detected by Cygwin/MSYS, avoiding the > need for emulating the full fork() semantics in this typical case? That's what vfork() is for, though maybe bash can't use it because of subshells, etc. -Yosh