EDU-667 Wrong working directory for "Run Study Tests" configuration
[idea/community.git] / python / educational-python / course-creator-python / src / com / jetbrains / edu / coursecreator / run / PyCCCommandLineState.java
index bb2264dbc18d042bd0069140f62582253b25d620..f392a76a11ea268364dc572c40802fe462c8fa84 100644 (file)
@@ -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;