delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: | <20050725163321.44771.qmail@web30204.mail.mud.yahoo.com> |
Date: | Mon, 25 Jul 2005 09:33:21 -0700 (PDT) |
From: | Peter Farley <pjfarley3 AT yahoo DOT com> |
Subject: | Re: Error using cygstart command with option arguments: "cygstart: bad argument" |
To: | cygwin AT cygwin DOT com |
In-Reply-To: | <42E2A76E.5F686BC0@dessent.net> |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
--- Brian Dessent <brian AT dessent DOT net> wrote: <Snipped> > The problem that you are running into is that you > need to tell cygstart that the -c and following > arguments are meant for the child process, and > are not arguments to cygstart itself. '--' is a > standard way of doing this, which indicates to the > program that all of the following arguments > should not be interpreted as switches but just > regular data. So "cygstart -- bash -c ..." ought > to work. <Snipped> Follow-up: Using "cygstart -- bash -c ..." did in fact solve the "bad argument" error and do exactly what I needed. Thanks again for the help. Peter __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |