We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b963e55 commit 7ba32cdCopy full SHA for 7ba32cd
src/java/org/robotframework/RunnerFactory.java
@@ -16,6 +16,7 @@
16
package org.robotframework;
17
18
import org.python.core.PyObject;
19
+import org.python.core.PySystemState;
20
import org.python.util.PythonInterpreter;
21
22
/**
@@ -33,7 +34,7 @@ public RunnerFactory() {
33
34
}
35
36
private PyObject importRunnerClass() {
- PythonInterpreter interpreter = new PythonInterpreter();
37
+ PythonInterpreter interpreter = new PythonInterpreter(null, new PySystemState());
38
interpreter.exec("import robot; from robot.jarrunner import JarRunner");
39
return interpreter.get("JarRunner");
40
0 commit comments