Date: Tue, 19 Mar 1996 17:09:31 +0200 (IST) From: Eli Zaretskii To: Paul Derbyshire Cc: djgpp AT delorie DOT com Subject: Re: Returning from a system() In-Reply-To: Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 18 Mar 1996, Paul Derbyshire wrote: > 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? You are talking about making two programs multitask (OK, two-task) under DOS, albeit multitask cooperatively. This isn't easy. But if anybody implements such a feature, we can make Emacs under DJGPP with (almost) asynchronuous processes: you can make shell-mode and GDB work!