Date: Sun, 26 Mar 1995 22:41:41 -0500 From: dj (DJ Delorie) To: tgm AT netcom DOT com Cc: djgpp AT sun DOT soe DOT clarkson DOT edu Subject: Re: Swapo for DJGPP? > Are there any libraries for DJGPP that allow a program to swap > itself out when spawning a sub-shell? Ralph Brown implemented > some libraries for 16-bit DOS that does this. They are known > as the SWAPO libraries, and they work quite well. Is there > any way to achieve similar function under DJGPP? This has come up before, and the biggest reason why you can't do this is because of the long command line passing algorithm. In proxy mode, you actually pass a far* pointer to the arguments, which can be anywhere in your memory space, and they need to still be there when the child program is running.