This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Problem executing system command in Cygwin programs launched from DOS shell
- To: cygwin at sourceware dot cygnus dot com
- Subject: Re: Problem executing system command in Cygwin programs launched from DOS shell
- From: Benjamin Riefenstahl <Benjamin dot Riefenstahl at ision dot net>
- Date: 20 Feb 2001 20:04:15 +0100
- References: <200102201056.FAA20778@gtei1.bellatlantic.net>
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