This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Does cygstart always expand arguments?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]