aboutsummaryrefslogtreecommitdiff
path: root/interpreter.py
diff options
context:
space:
mode:
Diffstat (limited to 'interpreter.py')
-rw-r--r--interpreter.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpreter.py b/interpreter.py
index 834f7f8..ebd29e5 100644
--- a/interpreter.py
+++ b/interpreter.py
@@ -660,7 +660,7 @@ class CompilerHolder(InterpreterObject):
code = code.get_value()
if not isinstance(code, str):
raise InterpreterException('First argument is not a string.')
- result = environment.RunResult(True, 0, 'stdout', 'stderr')
+ result = self.compiler.run(code)
return TryRunResultHolder(result)
def get_id_method(self, args, kwargs):