#2184 "start" breaks on ampersand

OTHER
unread
nobody
None
Support
none
Unknown
False
2014-02-16
2014-02-16
No

This has been a long standing problem with MSYS. If you run a command, such as

$ start 'http://wikipedia.org/wiki/Key_&_Peele'
'_Peele' is not recognized as an internal or external command,
operable program or batch file.

it will break on the ampersand (&). Cygwin solves this problem by using the "cygstart.exe" program. With MSYS, this can be solved with something like this

-cmd //c start "$@"
+cmd //c start "${@//&/^&}"

please consider this

This has already been fixed with MSYS2

http://sf.net/p/msys2/tickets/14

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks