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

2005-07-25 Thread Peter Farley
--- Brian Dessent <[EMAIL PROTECTED]> wrote: > 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 t

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

2005-07-24 Thread Michael Schaap
On 24-Jul-2005 2:01, Eric Blake wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 7/23/2005 2:24 PM: $ cygstart bash -c echo Hi There cygstart: bad argument -c: unknown option The problem that you are running into is that you need to tell cygstart tha

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

2005-07-23 Thread Peter Farley
--- Igor Pechtchanski <[EMAIL PROTECTED]> wrote: > Ugh, top-posting. Reformatted. > > On Sat, 23 Jul 2005, Peter Farley wrote: > > Peter, beware that the need for quoting isn't just > for spaces, but for any shell and cmd > metacharacters (they are different). So, for > example, any use of '^

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

2005-07-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 7/23/2005 2:24 PM: >> >>$ cygstart bash -c echo Hi There >>cygstart: bad argument -c: unknown option > > The problem that you are running into is that you need to tell cygstart > that the -c and following arguments are me

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

2005-07-23 Thread Igor Pechtchanski
Ugh, top-posting. Reformatted. On Sat, 23 Jul 2005, Peter Farley wrote: > --- Brian Dessent <[EMAIL PROTECTED]> wrote: . Thanks. > > Peter Farley wrote: > > > > > I tried to use cygstart to execute bash with the > > > "-c" option to execute a command

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

2005-07-23 Thread Peter Farley
Thank you Brian, I will try both of those. Fortunately none of the aruments I may need to use for the real application will contain spaces, but it is good advice that I will remember nonetheless. Peter --- Brian Dessent <[EMAIL PROTECTED]> wrote: > Peter Farley wrote: > > > I tried to use cygs

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

2005-07-23 Thread Brian Dessent
Peter Farley wrote: > 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 The problem that you are running into is that you need to tell cygst