Commit 92f8f006 authored by marco.'s avatar marco.

MacOSX - Fixed some issues launching bundles/binaries

parent 5fa61ecd
......@@ -423,9 +423,9 @@ int ExecuteFile( wxWindow* frame, const wxString& ExecFile, const wxString& para
#ifdef __WXMAC__
if( wxFileExists( FullFileName ) || wxDir::Exists( FullFileName ) )
{
ProcessExecute( wxT("open -a ") + ExecFile + wxT(" ") + param );
ProcessExecute( wxGetApp().GetExecutablePath() + wxT("/") + ExecFile + wxT(" ") + param );
} else {
ProcessExecute( wxT("open ") + param );
ProcessExecute( wxT("/usr/bin/open ") + param );
}
return 0;
#else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment