diff --git a/Runtime-Environments.md b/Runtime-Environments.md index ebab53b..8e40e82 100644 --- a/Runtime-Environments.md +++ b/Runtime-Environments.md @@ -4,13 +4,13 @@ This page contains notes about using various runtime environments in ReCodEx as ## Python +We use a wrapper script that translates exceptions to error codes. This script can be found in the [utils](https://github.com/ReCodEx/utils/blob/master/runners/py/runner.py) repository. + Due to a [Python bug](http://bugs.python.org/issue10496), the interpreter requires the `$HOME` variable to be set to something. Otherwise, it tries to look up the UID used by Isolate in `/etc/passwd` and fails. Setting `HOME=/box` seems to work. -We use a wrapper script that translates exceptions to error codes. This script can be found in the [utils](https://github.com/ReCodEx/utils/blob/master/runners/py/runner.py) repository. - ## Java By default, we use a script that looks for a class with a `main` method and executes it for running Java programs. There has to be only one class containing `main` method, otherwise error will be observed. The executed script is named `javarun.java` and can be found in the [utils](https://github.com/ReCodEx/utils/blob/master/runners/java/javarun.java) repository. In tested solutions we use its byte-compiled counterpart `javarun.class`, so be aware of name collisions.