mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
fixed c args and added node lockfile to .gitignore
This commit is contained in:
parent
0f8350b6da
commit
e169d0cab8
2 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue