mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-01 09:26:29 +02:00
Merge pull request #80 from EleanorNB/patch-1
Don't attempt to run executable if compilation fails
This commit is contained in:
commit
95d8b853db
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
cd /tmp/$1
|
cd /tmp/$1
|
||||||
cp code.code main.zig
|
cp code.code main.zig
|
||||||
timeout -s KILL 10 zig build-exe main.zig
|
timeout -s KILL 10 zig build-exe main.zig && \
|
||||||
timeout -s KILL 3 xargs -a args.args -d '\n' ./main
|
timeout -s KILL 3 xargs -a args.args -d '\n' ./main
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue