delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/02/20/14:44:40

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <Benjamin DOT Riefenstahl AT ision DOT net>
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: <u1ystnplc.fsf@work1.work.maz.net>
Lines: 23
User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7
MIME-Version: 1.0

Hi Mark,

Mark Schoenberg <mark AT emmestech DOT com> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019