This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: B20 : problem using system("cmd");


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]