pdavid@polyslo.CalPoly.EDU (Paul C. David) (05/11/89)
I am trying to find a way to start execution of a stand-alone .EXE file from within an application. I can't get exec to work, and seem to remember someone warning me off of spawn. Please mail any replies. Thanks in advance.... Paul. -- Paul C. David pdavid@polyslo.CalPoly.EDU California Polytechic State University, San Luis Obispo Unity through inviting learning by doing is our style.
wnr@otter.hpl.hp.com (Nigel Rea) (05/12/89)
If you want to run an executable from within another, then try using spawn as exec will overwrite the original executable with the one being exec'd. I remember someone posted a small windows app whose sole function was to spawn another. Try to find it in the archives (full source was included). hope this helps .... Nigel ====================================================== Nigel Rea |wnr@hplb.uucp Hewlett Packard laboratories |wnr@hplb.ukc.ac.uk Filton Road |wnr@hplb.hpl.hp.co.uk Stoke Gifford |wnr@hplb.hpl.hp.com Bristol BS12 6QZ |telex 449206 England |fax 44,272,790554 wnr@hplb.* is equivalent to Nigel_Rea@hplb.* Tel. +44 272 799910 extension 24197 x400 address is GB/GOLD_400///HP/HPL//Rea:Nigel::// HPDesk: Nigel Rea/HPC600/05 Internet: [15.8.59.2] ======================================================