cc: olga.kryzhanov...@gmail.com iszczesn...@gmail.com
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
d...@research.att.com
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to