Hi!

----

While working on another bug I read
http://blogs.sun.com/quenelle/entry/vfork_and_posix_spawn ,
http://developers.sun.com/solaris/articles/subprocess/subprocess.html
and the Solaris 11/B48 |vfork()| manual page (which says:
-- snip --
The vfork() function is deprecated. Its sole legitimate  use
as  a  prelude  to  an immediate call to a function from the
exec family can be achieved  safely  by  posix_spawn(3C)  or
posix_spawnp(3C).
-- snip --
) ...
... which raises the question whether ksh93 should (or could) use
|posix_spawn()| instead of |vfork()| (the current ksh93/libshell source
can be found at
http://polaris.blastwave.org/browser/on/branches/ksh93/gisburn/prototype003/usr/src/lib/libshell/).

Suggestions/ideas/rants/etc. welcome...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

Reply via email to