aboutsummaryrefslogtreecommitdiffstats
path: root/snekbox.py
diff options
context:
space:
mode:
authorGravatar Christopher Baklid <[email protected]>2018-07-05 17:27:48 +0200
committerGravatar Christopher Baklid <[email protected]>2018-07-05 17:27:48 +0200
commit7fc86e5b7a6447976d8dec5c7aeb2732de5a36b9 (patch)
treee34bbe6db0d3b2a064eb78e8442d68275ca5124d /snekbox.py
parentfix tests (diff)
skip tests for now :(
Diffstat (limited to 'snekbox.py')
-rw-r--r--snekbox.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/snekbox.py b/snekbox.py
index a4dd711..95ff7e0 100644
--- a/snekbox.py
+++ b/snekbox.py
@@ -67,6 +67,9 @@ class Snekbox(object):
except IndexError:
output = ''
+ elif proc.returncode == 11:
+ output = 'segfaulted, nice work!'
+
elif proc.returncode == 109:
output = 'timed out or memory limit exceeded'