From 671fcfe53f288231ec69dba3470664339abe073e Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Thu, 25 May 2017 12:41:28 +0300 Subject: [PATCH] Cleanup (minor optimization) --- .../platform-api/src/com/intellij/execution/util/ExecUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-api/src/com/intellij/execution/util/ExecUtil.java b/platform/platform-api/src/com/intellij/execution/util/ExecUtil.java index 995cf2f44b12..1a4d128569f3 100644 --- a/platform/platform-api/src/com/intellij/execution/util/ExecUtil.java +++ b/platform/platform-api/src/com/intellij/execution/util/ExecUtil.java @@ -228,7 +228,7 @@ public class ExecUtil { @NotNull public static List getTerminalCommand(@Nullable String title, @NotNull String command) { if (SystemInfo.isWindows) { - title = title != null ? title.replace("\"", "'") : ""; + title = title != null ? title.replace('"', '\'') : ""; return Arrays.asList(getWindowsShellName(), "/c", "start", GeneralCommandLine.inescapableQuote(title), command); } else if (SystemInfo.isMac) {