diff options
author | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-16 16:10:59 +0200 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@araneo.org> | 2015-09-16 16:10:59 +0200 |
commit | 251c5e2ba0e85103c55cf31026739b2e7e9d4b90 (patch) | |
tree | d01abacb559c69fdfe3ef205a683496533da8369 /python/runner/interpreter.py | |
parent | b9f1c57fdd6097e776235c105c58c29f84399523 (diff) |
Implement async. comm. with Python interpreter
Creating, destroying and communicationg with the interpreter subprocess
is now handled by a thread attached to PythonSession. Interpreter is
sandboxed using libseccomp.
Diffstat (limited to 'python/runner/interpreter.py')
-rwxr-xr-x | python/runner/interpreter.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/python/runner/interpreter.py b/python/runner/interpreter.py deleted file mode 100755 index 5fa320a..0000000 --- a/python/runner/interpreter.py +++ /dev/null @@ -1,8 +0,0 @@ -#!/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='') |