🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #2678

Re: Help with Execute()

#2678
From: Fred Fish
Date: Mon, 11 Dec 1989 16:22
21 lines
1059 bytes
In article <855@wet.UUCP> mcw@wet.UUCP (Martin Warnett) writes:
>Question: Is there any way I can set the stack size for the executed
>program from within my program?

The only way I found when using Execute() to get control of the 
subprocess's stack size is to tack a stack command onto the front
of whatever string you were passing to Execute().  I.E., if your
execute command was:

	"ram:doit arg1 arg2"

pass it

	"stack 123456\nram:doit arg1 arg2"

instead (note the embedded newline character).

-Fred
-- 
# Fred Fish, 1835 E. Belmont Drive, Tempe, AZ 85284,  USA
# 1-602-491-0048           asuvax!{nud,mcdphx}!estinc!fnf
Technical Details
Message-ID: <243@estinc.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!asuvax!mcdphx!estinc!fnf
References: <855@wet.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!asuvax!mcdphx!estinc!fnf
From: fnf@estinc.UUCP (Fred Fish)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Help with Execute()
Message-ID: <243@estinc.UUCP>
Date: 11 Dec 89 16:22:32 GMT
References: <855@wet.UUCP>
Reply-To: fnf@estinc.UUCP (Fred Fish)
Organization: Enhanced Software Technologies, Inc.
Lines: 21