delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/07/23/15:43:00

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: <20050723194252.38651.qmail@web30211.mail.mud.yahoo.com>
Date: Sat, 23 Jul 2005 12:42:52 -0700 (PDT)
From: Peter Farley <pjfarley3 AT yahoo DOT com>
Subject: Error using cygstart command with option arguments: "cygstart: bad argument"
To: cygwin AT cygwin DOT com
MIME-Version: 1.0
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019