diff --git a/.gitignore b/.gitignore index 764c63f..5ef997d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ api/api +api/package-lock.json lxc/i lxc/lockfile diff --git a/lxc/executors/c b/lxc/executors/c index 096b1d9..719062a 100755 --- a/lxc/executors/c +++ b/lxc/executors/c @@ -1,5 +1,5 @@ #!/usr/bin/bash cd /tmp/$2 -gcc -std=c11 -o binary -x c code.code -timeout -s KILL 3 xargs -a args.args ./binary < stdin.stdin +timeout -s KILL 10 gcc -std=c11 -o binary -x c code.code +timeout -s KILL 3 xargs -a args.args -d '\n' ./binary < stdin.stdin