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;