diff --git a/src/dlangui/platforms/sdl/sdlapp.d b/src/dlangui/platforms/sdl/sdlapp.d index db08a894..dc01c5f0 100644 --- a/src/dlangui/platforms/sdl/sdlapp.d +++ b/src/dlangui/platforms/sdl/sdlapp.d @@ -1208,10 +1208,12 @@ class SDLPlatform : Platform { string[] args; args ~= exe; args ~= "-e"; - args ~= "tell application \"Finder\" to reveal POSIX file \" ~ normalized ~ \""; + args ~= "tell application \"Finder\" to reveal (POSIX file \"" ~ normalized ~ "\")"; + Log.d("Executing command: ", args); auto pid = spawnProcess(args); wait(pid); args[2] = "tell application \"Finder\" to activate"; + Log.d("Executing command: ", args); pid = spawnProcess(args); wait(pid); return true;