home *** CD-ROM | disk | FTP | other *** search
- Path: god.bel.alcatel.be!nlev00!barnhoorn
- From: barnhoorn@nlev00 ()
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: detachable program
- Date: 15 Mar 1996 06:47:00 GMT
- Organization: Alcatel Bell
- Distribution: world
- Message-ID: <4ib3p4$8eo@btmpjg.god.bel.alcatel.be>
- References: <Pine.BSD.3.91.960310002355.23759B-100000@ugly.cute.fi> <3147C24C.5C39@sapiens.com>
- Reply-To: barnhoorn@nlev00 ()
- NNTP-Posting-Host: 138.203.178.61
- X-Newsreader: mxrn 6.18-10
-
-
- In article <3147C24C.5C39@sapiens.com>, Avi Lev <avil@sapiens.com> writes:
- >Kristian "Hwmagic" Slavov wrote:
- >>
- >> Help me!
- >> I want to know how to make a program that detaches itself from CLI
- >
- >well, you can just use the command RUN <program> at the CLI
- >prompt and that's it, or, you can write a small loader program
- >that spawns a child process and exits, but if you're refering to
- >TSR's then it's not that simple as you have to dive in and
- >change some OS structure to ensure the program stays in memory
- >even when it terminates. hope this helps, Avi.
- >
-
- Another possibility is to make use of SAS/C's cres.o startup
- module, which detaches the program from the shell.
-
- --
- ---------------------------------------------------------------------------
- Jaco Barnhoorn barnie@xs4all.nl
- Software Test Engineer barnhoorn%nlev00@btmv56.se.bel.alcatel.be
- Alcatel Telecom Systems
- Rijswijk, The Netherlands
- ---------------------------------------------------------------------------
-