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]

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


Hi all,

I tried to use cygstart to execute bash with the "-c"
option to execute a command and then terminate. 
Here's what I get:

$ cygstart bash -c echo Hi There
cygstart: bad argument -c: unknown option
$ cygstart bash -c "echo Hi There"
cygstart: bad argument -c: unknown option
$ cygstart bash "-c echo Hi There"
cygstart: bad argument -c echo Hi There: unknown
option

Is this my misunderstanding of the syntax of cygstart
or something else?

TIA for any info/RTFM/help you can provide.

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]