This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error using cygstart command with option arguments: "cygstart: bad argument"


--- Brian Dessent <brian@dessent.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]