delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/03/04/15:15:08

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SARE_FREE_WEBM_LAPOSTE
X-Spam-Check-By: sourceware.org
Message-ID: <4B901512.8080703@laposte.net>
Date: Thu, 04 Mar 2010 21:16:18 +0100
From: Cyrille Lefevre <cyrille DOT lefevre-lists AT laposte DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: 1.7.1: Problem with cygstart and arguments containing spaces
References: <4B8E2648 DOT 3070603 AT charlesroper DOT co DOT uk>
In-Reply-To: <4B8E2648.3070603@charlesroper.co.uk>
X-me-spamlevel: not-spam
X-me-spamrating: 38.799999
X-me-spamcause: OK, (-30)(0000)gggruggvucftvghtrhhoucdtuddrvdeltddrheehucetggdotefuucfrrhhofhhilhgvmecuoehnohhnvgeqnecuuegrihhlohhuthemuceftddtnecuthhhvgcuphhrohgslhgvmhculddqfedtmd
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Charles Roper a =C3=A9crit :
<snip>
> The thing is, if there is a space in the path after the -d switch, the=20
> argument doesn't work correctly:
>=20
> $ cygstart "D:/Software/Console2/Console.exe" -d "C:/Program Files"
>=20
> $ cygstart "/cygdrive/d/Software/Console2/Console.exe" -d "C:/Program=20
> Files"
>=20
> Neither of those will yield a Console at the correct directory; instead,=
=20
> Console defaults to its installed location.
>=20
> Is this an issue with cygstart, or should I be looking at Console itself=
=20
> as the culprit here?

Hi,

cygstart --wait /system32/cmd /c "echo 1 2&pause" works
open up a windows cmd w/ "1 2" inside, then pause
so, the problem seems to be Console itself ?

Regards,

Cyrille Lefevre
--=20
mailto:Cyrille DOT Lefevre-lists AT laposte DOT net



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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