This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: 1.7.1: Problem with cygstart and arguments containing spaces
- From: Cyrille Lefevre <cyrille dot lefevre-lists at laposte dot net>
- To: cygwin at cygwin dot com
- Date: Thu, 04 Mar 2010 21:16:18 +0100
- Subject: Re: 1.7.1: Problem with cygstart and arguments containing spaces
- References: <4B8E2648.3070603@charlesroper.co.uk>
Charles Roper a Ãcrit :
<snip>
The thing is, if there is a space in the path after the -d switch, the
argument doesn't work correctly:
$ cygstart "D:/Software/Console2/Console.exe" -d "C:/Program Files"
$ cygstart "/cygdrive/d/Software/Console2/Console.exe" -d "C:/Program
Files"
Neither of those will yield a Console at the correct directory; instead,
Console defaults to its installed location.
Is this an issue with cygstart, or should I be looking at Console itself
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
--
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