delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/13/17:36:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <3EC16473.6000701@kleckner.net>
Date: Tue, 13 May 2003 14:32:35 -0700
From: Jim Kleckner <jek-cygwin AT kleckner DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: en-us
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Does cygstart always expand arguments?

I was trying to get cygpath and cygstart to launch
a non-cygwin-compiled program (gvim) and running
into difficulties with files that have spaces in
them.  e.g.:

   echo hello > "file with spaces.txt"
   cygstart gvim "file with spaces.txt"

causes gvim to see three files, "file",
"with", and "spaces.txt".

Is this a basic Windows limitation or is there
some hack to get around this?  cygstart appears to
be the dead end.

Thanks - Jim


--
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