Dock icon indicating copy to clipboard operation
Dock copied to clipboard

Dock Not Able To Launch Apps With Space In Path

Open louieisahuman opened this issue 4 years ago • 2 comments

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

louieisahuman avatar Feb 23 '21 08:02 louieisahuman

Fixed by dad8a9a

probonopd avatar Jun 16 '21 19:06 probonopd

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.

probonopd avatar Sep 17 '21 06:09 probonopd