Kirk Wolf wrote:

> Unfortunately, bash is pretty complicated software, and updating it to do
> this is not at all easy because of the difference in semantics between
> fork()/exec() and spawn().

Amen, brethren! :-)

Interestingly, it looks like there is exactly ONE call to fork() in the bash 
source.

But -- it's in a function that gets called all over the place, with large 
amounts of
setup and post-fork processing, on both sides (parent/child). It might be 
possible to
substitute spawn in some cases but, as you noted, it wouldn't be easy.

-- Jerry

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to