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: Problem executing system command in Cygwin programs launched from DOS shell


Hi Mark,

Mark Schoenberg <mark@emmestech.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.riefenstahl@ision.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


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