Added haskell support

This commit is contained in:
Ethan Edwards 2020-10-16 23:57:45 -04:00
parent a89d22bd25
commit 3246ed6781
No known key found for this signature in database
GPG key ID: F1AD8EEE1366610B
6 changed files with 18 additions and 0 deletions

3
lxc/executors/haskell Normal file
View file

@ -0,0 +1,3 @@
cd /tmp/$2
timeout -s KILL 10 ghc -dynamic -o binary code.code
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 ./binary"