Does cygstart always expand arguments?

Jim Kleckner jek-cygwin@kleckner.net
Tue May 13 21:38:00 GMT 2003


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/



More information about the Cygwin mailing list