diff options
Diffstat (limited to 'python/runner')
-rwxr-xr-x | python/runner/interpreter.py | 8 |
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='') |