AODiakite / shiny.exe

11 stars 1 forks source link

Handle spaces in paths #2

Open jzadra opened 1 year ago

jzadra commented 1 year ago

The .command file that is created does not use the appropriate method for handling spaces in the path.

For example, if the path is /Users/myuser/Documents/R Projects/someproject, running the .command file will result in:

Fatal error: cannot open file '/Users/myuser/Documents/R': No such file or directory

The script needs to add a backslash escape before any spaces, ie: /Users/myuser/Documents/R\ Projects/someproject

AODiakite commented 1 year ago

Currently the package does not support file paths with spaces on unix OS. I will make corrections in the next version of the package.