Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ucsfcgl!cca.ucsf.edu!wet!mcw From: mcw@wet.UUCP (Martin Warnett) Newsgroups: comp.sys.amiga.tech Subject: Help with Execute() Message-ID: <855@wet.UUCP> Date: 10 Dec 89 17:36:38 GMT Reply-To: mcw@wet.UUCP (Martin Warnett) Organization: Wetware Diversions, San Francisco Lines: 28 The question concerns Execute() and stack size. I wrote a test program to execute the command "STACK >RAM:TEST" so that I could check the stack size the executed program got as I was having some weird problems. Sure enough the stack size was the problem. When I ran the program from the CLI the RAM:TEST file told me the stack size was whatever I set the stack size to using the stack command. This was as expected. However when I ran the program from the WB the stack size was 4000 regardless of the STACK specification in the .info file. I had expected the program to get whatever that stack size was set to. Question: Is there any way I can set the stack size for the executed program from within my program? The only work around I came up with was setting the stack size in my startup sequence. This had the effect of the program getting this stack size even when run from the WB. But this has the side effect of wasting a lot of memory. Any assistance would be greatly appreciated. Thanks, Martin. -- +====================================================================+ | Martin Warnett | uucp: ...sun!claris!wet!mcw | | San Francisco, CA | claris!wet!mcw@ames.arc.nasa.gov | +====================================================================+