exjam / excmd

A command line parser.
2 stars 0 forks source link

Spaces in path not handled on Linux #1

Closed ghost closed 8 years ago

ghost commented 8 years ago

For example:

./src/decaf-emu play /home/game\ folder

Results in: Could not find file or directory /home/game

exjam commented 8 years ago

Ah thanks, I forgot about whitespace escaping!

exjam commented 8 years ago

Wait a sec... on Linux we use argc, argv in which case this should be handled by your shell? I will investigate..

exjam commented 8 years ago

Ah caught it, was caused by this:

https://github.com/exjam/excmd/commit/7e4f6f55d98d1ed60bac13afa9dd1f57235afc63

Thanks!