On 2019-08-28 7:37 PM, Jerry Callen wrote:
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
One for the "too hard basket" then Jerry?! It would be fantastic to have
bash as the default shell for z/OS but that
ain't gonna happen anytime soon :)
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN