From 427cfbf569113aeab6b98b96c8e9c3cf2532e8ae Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Sat, 27 Jul 2013 14:18:11 +0300 Subject: Interpreter side of tryrun is mostly done. --- environment.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'environment.py') diff --git a/environment.py b/environment.py index f7f42e1ea..309a1e307 100644 --- a/environment.py +++ b/environment.py @@ -23,6 +23,13 @@ class EnvironmentException(Exception): def __init(self, *args, **kwargs): Exception.__init__(self, *args, **kwargs) +class RunResult(): + def __init__(self, compiled, returncode=999, stdout='UNDEFINED', stderr='UNDEFINED'): + self.compiled = compiled + self.returncode = returncode + self.stdout = stdout + self.stderr = stderr + class CCompiler(): def __init__(self, exelist): if type(exelist) == type(''): -- cgit v1.2.3