This is the mail archive of the
mailing list for the Cygwin project.
Re: B20 : problem using system("cmd");
- To: "Denys Gariepy" <garden at capitale dot qc dot ca>, <cygwin at sourceware dot cygnus dot com>
- Subject: Re: B20 : problem using system("cmd");
- From: "Larry Hall (RFK Partners, Inc)" <lhall at rfk dot com>
- Date: Mon, 18 Sep 2000 08:37:33 -0400
At 02:20 PM 9/17/2000, Denys Gariepy wrote:
> 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.
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 email@example.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 firstname.lastname@example.org