cc: [email protected] [email protected]
Subject: Re: Re: [ast-developers] posix_spawn not used on Linux?
--------


> This is interesting. I thought both Linux and Solaris use
> posix_spawn() to avoid the much more expensive vfork()/exec().
> 
> Irek
> 

ksh93 should use spawnveg() rather than fork/exec on systems for which
vfork() is not fork().  spawnveg() uses either posix_spawn() or vfork().

On what system do you see the shell use fork() for simple commands?

David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to