Skip to content
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

Dock Not Able To Launch Apps With Space In Path #11

Open
louieisahuman opened this issue Feb 23, 2021 · 2 comments
Open

Dock Not Able To Launch Apps With Space In Path #11

louieisahuman opened this issue Feb 23, 2021 · 2 comments

Comments

@louieisahuman
Copy link

Capture

This Example Is From FreeCAD Located In 3D printing Folder

When I Try To Open FreeCAD From Filer It Works, But When I Run It From dock It Throws Error

@probonopd
Copy link
Member

Fixed by dad8a9a

@probonopd
Copy link
Member

probonopd commented Sep 17, 2021

This results in args ("/usr/local/bin/launch", "Filer /Applications/Utilities") which does not work.
We need to find a way to distinguish between spaces that are due to arguments, and spaces due to whitespace.
How?
Use quotes and parse those similar to (https://stackoverflow.com/a/25097755)?

#20 addresses this but in this way.

@probonopd probonopd reopened this Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants