FileUtil.writeToFile(tempFile, source);
if (!tempFile.setExecutable(true, true)) {
throw new ExecutionException("Failed to make temp file executable: " + tempFile);
}
return tempFile;
<BUG>}
public static String getOsascriptPath() {</BUG>
return "/usr/bin/osascript";
<BUG>}
public static String getOpenCommandPath() {</BUG>
return "/usr/bin/open";

FileUtil.writeToFile(tempFile, source);
if (!tempFile.setExecutable(true, true)) {
throw new ExecutionException("Failed to make temp file executable: " + tempFile);
}
return tempFile;
}
@NotNull
public static String getOsascriptPath() {
return "/usr/bin/osascript";
}
@NotNull
public static String getOpenCommandPath() {
