Message-Id: <199902281849.SAA06162@out1.ibm.net> From: "Mark E." To: djgpp-workers AT delorie DOT com Date: Sun, 28 Feb 1999 13:49:30 -0500 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: inetutils In-reply-to: <199902281734.MAA26602@mccoy2.ECE.McGill.CA> References: from "Eli Zaretskii" at Feb 28, 99 02:43:58 pm X-mailer: Pegasus Mail for Win32 (v3.01d) Reply-To: djgpp-workers AT delorie DOT com > pid = spwan(P_NOWAIT, "start", "/m", path, NULL); This won't work because P_NOWAIT always causes an error. Try this instead: pid = spawnl (P_WAIT, "start.exe", "start.exe", "/m", path, NULL); and then add "/w" if start.exe should wait for the program to finish before exiting. Mark --- Mark Elbrecht snowball3 AT usa DOT net http://members.xoom.com/snowball3/