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
Message-ID: <3D8B0765.9000706@mscha.org>
Date: Fri, 20 Sep 2002 13:32:53 +0200
From: Michael Schaap <cygwin@mscha.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@e2open.com>
CC: cygwin@cygwin.com
Subject: Re: Can't figure out how to pass command arguments via cygstart
References: <kv7khtgz68.fsf@e2open.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
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/

