X-Recipient: archive-cygwin@delorie.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.lefevre-lists@laposte.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@cygwin.com
Subject: Re: 1.7.1: Problem with cygstart and arguments containing spaces
References: <4B8E2648.3070603@charlesroper.co.uk>
In-Reply-To: <4B8E2648.3070603@charlesroper.co.uk>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
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@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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.Lefevre-lists@laposte.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

