EDU-667 Wrong working directory for "Run Study Tests" configuration
authorLiana Bakradze <liana.bakradze@jetbrains.com>
Mon, 11 Jul 2016 09:56:38 +0000 (12:56 +0300)
committerLiana Bakradze <liana.bakradze@jetbrains.com>
Mon, 11 Jul 2016 09:56:38 +0000 (12:56 +0300)
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;