delorie.com/archives/browse.cgi | search |
Message-Id: | <199902281849.SAA06162@out1.ibm.net> |
From: | "Mark E." <snowball3 AT usa DOT net> |
To: | djgpp-workers AT delorie DOT com |
Date: | Sun, 28 Feb 1999 13:49:30 -0500 |
MIME-Version: | 1.0 |
Subject: | Re: inetutils |
In-reply-to: | <199902281734.MAA26602@mccoy2.ECE.McGill.CA> |
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 990228144332 DOT 5950e-100000 AT is> 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |