Closed telyn closed 4 years ago
It's built! I had to implement a library to send the exit code over the network for EE programs. That's now done - it's libps2run
and the instructions are in README/the help text from ps2run
the shell script.
The shell script ps2run
forwards the application's stdout and stderr (as received by ps2client) to stderr, as well as capturing the exit code and forwarding that. So if the program performs printf("Hello!"); exit 9
on the PS2, the shell script outputs "Hello!" and exits with exit code 9.
This is gonna be called
ps2harness
(ps2exec was already taken), and will live inside the ps2runner docker image.Intended usage: