summaryrefslogtreecommitdiff
path: root/python/runner
diff options
context:
space:
mode:
Diffstat (limited to 'python/runner')
-rwxr-xr-xpython/runner/interpreter.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/python/runner/interpreter.py b/python/runner/interpreter.py
new file mode 100755
index 0000000..5fa320a
--- /dev/null
+++ b/python/runner/interpreter.py
@@ -0,0 +1,8 @@
+#!/usr/bin/python3
+
+# Apparently there is no (working) way to get a non-blocking stdout if we call
+# the Python interpreter directly with subprocess.Popen. For some reason, this
+# works.
+
+import code
+code.interact(banner='')