Xref: news2.mv.net comp.os.msdos.djgpp:1941 Newsgroups: comp.os.msdos.djgpp From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Subject: Returning from a system() Message-ID: Sender: ao950 AT freenet2 DOT carleton DOT ca (Paul Derbyshire) Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire) Organization: The National Capital FreeNet Date: Mon, 18 Mar 1996 17:30:35 GMT Lines: 14 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Let's assume a program has used system() to launch a second program, which is a DJGPP compiled program. Is there a way for the second program to suspend execution and return to the first one *without* exiting? I.e. it stays resident in memory, or is paged to disk. Also, how would the first program return to the second? -- .*. "Clouds are not spheres, mountains are not cones, coastlines are not -() < circles, and bark is not smooth, nor does lightning travel in a `*' straight line." ,------------------------------------------------ -- B. Mandelbrot | Paul Derbyshire (PGD) ao950 AT freenet DOT carleton DOT ca