From 9472e8bf9529f286301c4344c6f7aa7c2ecbafa8 Mon Sep 17 00:00:00 2001 From: Liana Bakradze Date: Mon, 11 Jul 2016 12:56:38 +0300 Subject: [PATCH] EDU-667 Wrong working directory for "Run Study Tests" configuration --- .../jetbrains/edu/coursecreator/run/PyCCCommandLineState.java | 1 + 1 file changed, 1 insertion(+) diff --git a/python/educational-python/course-creator-python/src/com/jetbrains/edu/coursecreator/run/PyCCCommandLineState.java b/python/educational-python/course-creator-python/src/com/jetbrains/edu/coursecreator/run/PyCCCommandLineState.java index bb2264dbc18d..f392a76a11ea 100644 --- a/python/educational-python/course-creator-python/src/com/jetbrains/edu/coursecreator/run/PyCCCommandLineState.java +++ b/python/educational-python/course-creator-python/src/com/jetbrains/edu/coursecreator/run/PyCCCommandLineState.java @@ -51,6 +51,7 @@ public class PyCCCommandLineState extends PythonCommandLineState { @Override protected void buildCommandLineParameters(GeneralCommandLine commandLine) { + commandLine.setWorkDirectory(myTaskDir.getPath()); ParamsGroup group = commandLine.getParametersList().getParamsGroup(GROUP_SCRIPT); assert group != null;