Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Problem executing system command in Cygwin programs launched from DOS shell References: <200102201056 DOT FAA20778 AT gtei1 DOT bellatlantic DOT net> From: Benjamin Riefenstahl Date: 20 Feb 2001 20:04:15 +0100 In-Reply-To: Mark Schoenberg's message of "Tue, 20 Feb 2001 05:56:13 -0500 (EST)" Message-ID: Lines: 23 User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Hi Mark, Mark Schoenberg writes: > As documented below, I am having trouble getting a > Cygwin-compiled program to execute the "system" comand when launched > from a DOS shell or a Win32 application. From the man page for system(3): Use system to pass a command string to /bin/sh on your system, and wait for it to finish executing. IOW, system() requires /bin/sh to exist. so long, benny -- ISION Internet AG Benjamin Riefenstahl mailto:benjamin DOT riefenstahl AT ision DOT net Harburger Schlossstr. 1 D-21079 Hamburg http://www.ision.net -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple