delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/25/15:04:38

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
To: cygwin AT cygwin DOT com
From: Robert Schmidt <rschm AT broadpark DOT no>
Subject: cygutils cygstart eats program arguments
Date: Mon, 25 Oct 2004 20:50:05 +0200
Lines: 31
Message-ID: <cljhsu$f6g$1@sea.gmane.org>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: dhcp-068-210.oslo.eur.slb.com
User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
X-IsSubscribed: yes

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/

- Raw text -


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