This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cygutils cygstart eats program arguments
- From: Mark Paulus <mark dot paulus at mci dot com>
- To: "cygwin at cygwin dot com" <cygwin at cygwin dot com>
- Date: Mon, 25 Oct 2004 13:43:56 -0600
- Subject: Re: cygutils cygstart eats program arguments
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/