Working on fixing the implementation of PythonRunner.java
build / build (push) Has been cancelled

added a global cache directory, not fully properly implemented, and dose not respect t.ex the FreeDesktop specifications for cache directories and files

OPS this is a partial commit! things might not add up on this commit.
This commit is contained in:
2026-05-04 18:17:15 +02:00
parent 96a6ed169e
commit 7dfaffc862
6 changed files with 254 additions and 71 deletions
@@ -14,11 +14,13 @@ def connect(data):
return responce.decode("utf-8")
def print_output(text):
data = {"function": "print_output", "arguments": [{"name": "text", "value": text}]}
data = {"function": "print_output", "container_id": CONTAINER_ID, "text": text}
connect(json.dumps(data))
def _neurodock_print(*args, **kwargs):
text = " ".join(str(a) for a in args)
print_output(text)
builtins.print = _neurodock_print
builtins.print = _neurodock_print
## Following is the generated