You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
# Runtime Environments
|
|
|
|
This page contains notes about using various runtime environments in ReCodEx as well as their internal usage inside Isolate sandbox. Only special cases are noted here.
|
|
|
|
## Python
|
|
|
|
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 repository.
|
|
|
|
## Java
|
|
|
|
By default, we use a script that looks for a class with a `main` method and executes it for running Java programs. This script is located in the utils repository.
|
|
|
|
TODO: file javarun.java with class javarun is added to classical java execution
|
|
|
|
## C#
|
|
|
|
TODO: files ReCodEx_Csharp_Wrapper.cs and ReCodEx_Csharp_Reader.cs are added to classical C# execution
|
|
|
|
## Go
|
|
|
|
Everything has to be in one package (standard `main` executable package). TODO... |