Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!zaphod.mps.ohio-state.edu!usc!ucsd!ncr-sd!sidd!johnl From: johnl@sidd.SanDiego.NCR.COM (John Lesac) Newsgroups: comp.windows.ms Subject: Spawning in Microsoft Windows Keywords: Spawning Windows Message-ID: <2509@ncr-sd.SanDiego.NCR.COM> Date: 13 Feb 90 00:21:05 GMT Sender: news@ncr-sd.SanDiego.NCR.COM Reply-To: johnl@sidd.SanDiego.NCR.COM (John Lesac) Distribution: usa Organization: NCR Corporation, Rancho Bernardo Lines: 13 I am looking for a way to spawn a non-windows program from within a Windows program and have the Windows program wait for the spawned program to finish. So far I have tried win_spawn() and Exec(). Both of these functions allow the Windows program to continue running in the background. I have even tried the spawnl function with the P_WAIT option -- it does not wait. I would greatly appreciate any help that anyone can give! John Lesac NCR Corporation