Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <426E2861.1050203@awcubed.com> Date: Tue, 26 Apr 2005 07:39:13 -0400 From: Archie Warnock <warnock AT awcubed DOT com> Organization: A/WWW Enterprises User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: system() fails on pristine Windows systems References: <426D5CAB DOT 2070804 AT awcubed DOT com> <d4jrnk$hkk$1 AT sea DOT gmane DOT org> <426DB60B DOT 9090004 AT awcubed DOT com> <426DBB5D DOT 5660669D AT dessent DOT net> <426DBDEE DOT 5080905 AT awcubed DOT com> <426DC858 DOT 27564CF8 AT dessent DOT net> In-Reply-To: <426DC858.27564CF8@dessent.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Brian Dessent wrote: > system() is just a wrapper around spawnvp(). If spawn() isn't what you > want then neither is system(). spawn() does not necessarily replace the > current process (_P_OVERLAY), it can also start and optionally wait for > a subprocess (_P_WAIT, _P_NOWAIT, _P_DETACH). Excellent - thanks. -- Archie -- Archie Warnock Internet: warnock AT awcubed DOT com -- A/WWW Enterprises http://www.awcubed.com -- As a matter of fact, I _do_ speak for my employer. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/