Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: cygutils cygstart eats program arguments In-reply-to: To: "cygwin AT cygwin DOT com" Message-id: <0I6500E5MO58GZ@pmismtp02.mcilink.com> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 7bit 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/