From 29fb51bcd18c04f095057d93afdaca95673ea3ce Mon Sep 17 00:00:00 2001 From: Vadim Lopatin Date: Tue, 26 Jan 2016 19:43:24 +0300 Subject: [PATCH] fix Show In File Manager feature for OSX --- src/dlangui/platforms/sdl/sdlapp.d | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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;