Re: cygutils cygstart eats program arguments
Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Robert Schmidt Sent: 25 October 2004 22:56 Mark Paulus wrote: Have you tried using a -- to indicate end of arguments to cygstart: cygstart -- tail --version Thanks! No, I hadn't, and that works great. I still find the usage syntax to be misleading though: Usage: cygstart [OPTION]... FILE [ARGUMENTS] What are ARGUMENTS if not to be passed to the execution of FILE? (For people relatively new to the nuances of cygwin/Linux (like myself), '--' is a pretty obscure feature.) Consider the question of how one would grep for the string --version in a file. cheers, DaveK grep -e --version -- 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/
RE: cygutils cygstart eats program arguments
-Original Message- From: cygwin-owner On Behalf Of Robert Schmidt Sent: 25 October 2004 22:56 Mark Paulus wrote: Have you tried using a -- to indicate end of arguments to cygstart: cygstart -- tail --version Thanks! No, I hadn't, and that works great. I still find the usage syntax to be misleading though: Usage: cygstart [OPTION]... FILE [ARGUMENTS] What are ARGUMENTS if not to be passed to the execution of FILE? (For people relatively new to the nuances of cygwin/Linux (like myself), '--' is a pretty obscure feature.) Consider the question of how one would grep for the string --version in a file. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
cygutils cygstart eats program arguments
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/
Re: cygutils cygstart eats program arguments
Mark Paulus wrote: Have you tried using a -- to indicate end of arguments to cygstart: cygstart -- tail --version Thanks! No, I hadn't, and that works great. I still find the usage syntax to be misleading though: Usage: cygstart [OPTION]... FILE [ARGUMENTS] What are ARGUMENTS if not to be passed to the execution of FILE? (For people relatively new to the nuances of cygwin/Linux (like myself), '--' is a pretty obscure feature.) 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/