fixed the problem with open file descriptors left behind when spawning a
new process.
Authored by: kifer 2001-07-02
Parent: [r2542]
Child: [r2544]