Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Message-Id: <4.3.1.2.20000918083514.00b4af80@pop.ma.ultranet.com>
X-Sender: lhall@pop.ma.ultranet.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 18 Sep 2000 08:37:33 -0400
To: "Denys Gariepy" <garden@capitale.qc.ca>, <cygwin@sourceware.cygnus.com>
From: "Larry Hall (RFK Partners, Inc)" <lhall@rfk.com>
Subject: Re: B20 : problem using system("cmd");
In-Reply-To: <000701c020d4$08d3aea0$1e7c010a@IRIS.capitale.qc.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id IAA31270

At 02:20 PM 9/17/2000, Denys Gariepy wrote:

>     Bonjour,
>
>     I try to execute the folowing program compiled with B20 and he do not
>
>     work correctly.
>
>     I also add the output of the 'cygcheck'
>
>
>
>     Denys Gariépy.
>     garden@capitale.qc.ca



Your program assumes that "dir" is an executable.  Its not.  Its a command
in the DOS command prompt program.  If you want this to work, you need to 
run the DOS prompt as part of your invocation (i.e. system("cmd.exe /c dir"))




Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

