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 |
Date: | Mon, 25 Oct 2004 13:43:56 -0600 |
From: | Mark Paulus <mark DOT paulus AT mci DOT com> |
Subject: | Re: cygutils cygstart eats program arguments |
In-reply-to: | <cljhsu$f6g$1@sea.gmane.org> |
To: | "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com> |
Message-id: | <0I6500E5MO58GZ@pmismtp02.mcilink.com> |
MIME-version: | 1.0 |
Priority: | Normal |
X-IsSubscribed: | yes |
Have you tried using a -- to indicate end of arguments to cygstart: cygstart -- tail --version On Mon, 25 Oct 2004 20:50:05 +0200, Robert Schmidt wrote: >Hi! >I'd like to use cygstart to launch a couple of log windows to monitor >server activity, much like the Windows START command. However, cygstart >eats *all* the arguments, not only the ones before the executable. Is >there something I've missed? >The usage suggests otherwise: >Usage: cygstart [OPTION]... FILE [ARGUMENTS] >Sample session: >/cygdrive/l/bin $ cygstart tail -f /var/log/fetchmail.log >Unable to start 'tail': There is no application associated with the >given file name extension. >/cygdrive/l/bin $ cygstart tail >[opens a new window waiting for stdin (as it should).] >/cygdrive/l/bin $ cygstart tail --version >[displays cygstart's version, not tail's] >cygstart version 1.0, by Michael Schaap >Let Windows start a program or open a file or URL. >/cygdrive/l/bin $ cygstart "tail --version" >Unable to start 'tail --version': The specified file was not found. >Cheers, >Rob >-- >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/ -- 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 |