🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #1829

Re: Spawning another App (long)

#1829
From: Bill Turner
Date: Mon, 25 Sep 1989 16:58
11 lines
855 bytes
> Why such a rumour about spawning other applications ?
> 
> Simply use spawnlp() or a similar call from the C library (the windows
> version of course) with a P_WAIT or P_NOWAIT parameter.

As someone else pointed out, if memory is compacted while in the spawnlp,
your program will die a horrible death.  Any of these methods should be
surrounded by LockData/UnlockData.

--Bill Turner (bturner@hp-pcd.hp.com)
HP Corvallis Information Systems
Technical Details
Message-ID: <106580065@hpcvlx.cv.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
References: <5329@umd5.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.cv.hp.com (Bill Turner)
Newsgroups: comp.windows.ms
Subject: Re: Spawning another App (long)
Message-ID: <106580065@hpcvlx.cv.hp.com>
Date: 25 Sep 89 16:58:52 GMT
References: <5329@umd5.umd.edu>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 11