mkentley@wpi.wpi.edu (Michael J Kentley) (01/03/90)
I've been having a problem with the system() call in the dlibs120 library with Sozobon C, and I'm hoping that someone can help me out. My bbs program uses the system() call to execute outside programs (online games, file transfer, and STadel networking). When I run the bbs under Gulam or JSH, there are no problems. Outside programs run normally. However, to save 100K of RAM, I wanted to run the system without a shell, leaving approx. 250K of RAM to run Galactic Empires etc. To run the bbs without a shell, I put a program in my \auto folder set up the environment. From GEM, I run the bbs program. The first few times it calls outside programs, there is no problem. After calling a few different programs via system(), the whole bbs keels over with 2 or 3 bombs, at some point during the execution of the system() call. It looks like the problem is somewhere within the forkvpe() call that system makes to run the program, but I really don't have a clue where to start looking. Any help with this would be appreciated. Thanks, Michael Kentley The RAM BBS 617-327-1181