1.7.1: Problem with cygstart and arguments containing spaces

Cyrille Lefevre cyrille.lefevre-lists@laposte.net
Thu Mar 4 21:12:00 GMT 2010


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



More information about the Cygwin mailing list