mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-20 20:16:26 +02:00
add timeout to executors
This commit is contained in:
parent
2c99873dcb
commit
97ba014d25
7 changed files with 7 additions and 7 deletions
|
@ -63,6 +63,6 @@ docker run \
|
|||
-v $dir/executors/cpp:/executor_cpp:ro \
|
||||
-v $dir/executors/go:/executor_go:ro \
|
||||
piston \
|
||||
timeout -s HUP 15 /$bin /$file $file 2>&1
|
||||
/$bin /$file $file 2>&1
|
||||
|
||||
rm -f /tmp/$file
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue