From 55269177016b3c7c24c95b080efa1695262be618 Mon Sep 17 00:00:00 2001 From: Eldar Abusalimov Date: Thu, 13 Apr 2017 23:34:00 +0300 Subject: [PATCH] IDEA-171368: execution: Use RunnerMediator when running from sources This makes the behavior more aligned with the release builds. --- .../src/com/intellij/execution/process/RunnerMediator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java b/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java index dae3b75060fd..c3fbc0db282c 100644 --- a/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java +++ b/platform/platform-impl/src/com/intellij/execution/process/RunnerMediator.java @@ -93,7 +93,7 @@ public class RunnerMediator { } LOG.warn("Cannot locate " + STANDARD_RUNNERW + " by " + IDEA_RUNNERW + " environment variable (" + path + ")"); } - File runnerw = new File(PathManager.getBinPath(), STANDARD_RUNNERW); + File runnerw = new File(PathManager.getOsSpecificBinPath(), STANDARD_RUNNERW); if (runnerw.exists()) { return runnerw.getPath(); }