Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
From: "Atreides" <atreidpub@netcourrier.com>
To: <cygwin@cygwin.com>
Subject: can't manage to use "windows" command-line (C development)
Date: Sun, 15 Dec 2002 03:24:29 +0100
Message-ID: <GIEFJENNKCILBFAIKBJAKELCEIAA.atreidpub@netcourrier.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

Hi,

While trying to do some C programs under cygwin, in order to launch usual
Win32 programs, I faced problem to launch them with arguments :

I explain : I want to launch "Pilot Install" from envicon.com with a text
file (full path included) for parameter. I tried to launch it using a cygwin
shell, does not work... (argument is not understood by the program). From a
DOS Box (with properly arranged paths of course) : same thing ...
But when I enter the same command-line, as in the DOS Box, in the
Start/Execute Panel in the start menu : It works!!!

So my question is : is it possible in a C program under cygwin (I use gcc),
to launch such command lines? (like the "system()" instruction, but for
windows).

thanks in advance

Nicolas DUTEIL


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

