helloSystem / Dock

Application dock
GNU General Public License v3.0
18 stars 13 forks source link

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

Open louieisahuman opened 3 years ago

louieisahuman commented 3 years ago

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 commented 3 years ago

Fixed by dad8a9a

probonopd commented 2 years ago

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)?

https://github.com/helloSystem/Dock/pull/20 addresses this but in this way.