-
Notifications
You must be signed in to change notification settings - Fork 453
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filename with spaces would not open in macos #144
Comments
see #127 , maybe also just use the Process class? |
my PR got merged but I guess @crazecoder thought it was safer to offer the Process route only as an option. So yes, I use the official version with the Process option enabled. IMHO, I'm convinced every desktop environment on linux has the xdg-utils dependency (xdg-open command available), so I would just standardize on xdg-open and leave out the native system call route. You could argue though that the Process route requires spawning an extra process which impacts performance. Personally I think it's negligible. I am not familiar with the macos environment, does it have the xdg-open command? A quick search reveals it would just be called "open". maybe you can verify. edit: btw, on windows one could use the start command from a shell: cmd /c start <arg> |
Because I was looking only for a MacOS solution I've ignored what did happen in linux call. It seems ok to me to create a new process specially on Mac because |
Add command parser before create system call #144
When I try to open a file with a space in its name it would not open. I've been able to track down the problem in the macos implementation that is not aware and escaping the space in the system call. I will send a PR with a suggestion. The same would happen to linux.
The text was updated successfully, but these errors were encountered: