delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/20/07:33:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3D8B0765.9000706@mscha.org>
Date: Fri, 20 Sep 2002 13:32:53 +0200
From: Michael Schaap <cygwin AT mscha DOT org>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Andre Srinivasan <andre AT e2open DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: Can't figure out how to pass command arguments via cygstart
References: <kv7khtgz68 DOT fsf AT e2open DOT com>
X-Virus-Scanned: at mscha.org by amavisd-milter (http://amavis.org/)

On 11-9-2002 2:14, Andre Srinivasan wrote:

>I'd like to invoke command foo and pass the -s switch to the command.
>When I try
>
>        cygstart --hide foo -s
>
>cygstart complains that it does not understand the -s switch.  Is
>there a way to do this?
>
Yes, that's a bit unfortunate.

I don't think there is a real solution for this - how would popt know 
that it shouldn't parse the "-s"?
There is a workaround, though.  You can use
        cygstart --hide -- foo -s

Best regards,

 - Michael


--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019