Article View: comp.sys.atari.st
Article #39988system() call in dlibs120
From: Michael J Kentley
Date: Wed, 03 Jan 1990 01:06
Date: Wed, 03 Jan 1990 01:06
21 lines
1549 bytes
1549 bytes
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
Technical Details
Message-ID:
<6453@wpi.wpi.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!samsung!think!snorkelwacker!mit-eddie!bu.edu!bu-cs!lectroid!cloud9!jjmhome!m2c!wpi!mkentleyShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!uakari.primate.wisc.edu!samsung!think!snorkelwacker!mit-eddie!bu.edu!bu-cs!lectroid!cloud9!jjmhome!m2c!wpi!mkentley From: mkentley@wpi.wpi.edu (Michael J Kentley) Newsgroups: comp.sys.atari.st Subject: system() call in dlibs120 Message-ID: <6453@wpi.wpi.edu> Date: 3 Jan 90 01:06:48 GMT Organization: Worcester Polytechnic Institute, Worcester, Mass. Lines: 21