| delorie.com/archives/browse.cgi | search |
| 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 |
| Message-Id: | <4.3.1.2.20000918083514.00b4af80@pop.ma.ultranet.com> |
| X-Sender: | lhall AT pop DOT ma DOT ultranet DOT com |
| X-Mailer: | QUALCOMM Windows Eudora Version 4.3.1 |
| Date: | Mon, 18 Sep 2000 08:37:33 -0400 |
| To: | "Denys Gariepy" <garden AT capitale DOT qc DOT ca>, <cygwin AT sourceware DOT cygnus DOT com> |
| From: | "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com> |
| Subject: | Re: B20 : problem using system("cmd"); |
| In-Reply-To: | <000701c020d4$08d3aea0$1e7c010a@IRIS.capitale.qc.ca> |
| Mime-Version: | 1.0 |
| 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 AT capitale DOT qc DOT 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 AT rfk DOT 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 AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |