Skip to content

Commit 98174f5

Browse files
committed
Fixed external text editor not launching on Mac
1 parent e5429cc commit 98174f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

IDE/Contents/Source/PolycodeToolLauncher.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ GenericRunner::GenericRunner(String app, String file, String inFolder) : Threade
3535
void GenericRunner::runThread() {
3636
#if defined(__APPLE__) && defined(__MACH__)
3737
CocoaCore *cocoaCore = (CocoaCore*) CoreServices::getInstance()->getCore();
38-
cocoaCore->openFileWithApplication(file, app);
38+
cocoaCore->openFileWithApplication(file.replace("\"", ""), app.replace("\"", ""));
3939
#else
4040
String ret = CoreServices::getInstance()->getCore()->executeExternalCommand(app, file, inFolder);
4141
#endif

0 commit comments

Comments
 (0)