aboutsummaryrefslogtreecommitdiff
path: root/environment.py
diff options
context:
space:
mode:
Diffstat (limited to 'environment.py')
-rw-r--r--environment.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/environment.py b/environment.py
index f7f42e1..309a1e3 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(''):