IDEA-171368: execution: Use RunnerMediator when running from sources

This makes the behavior more aligned with the release builds.
This commit is contained in:
Eldar Abusalimov
2017-04-13 23:42:25 +03:00
parent 79b137859c
commit 5526917701
@@ -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();
}