Path: 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

> 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