mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 04:56:30 +02:00
Don't attempt to run executable if compilation fails
It was just ugly.
This commit is contained in:
parent
4d344db148
commit
f8391e9aaf
1 changed files with 1 additions and 1 deletions
|
@ -2,5 +2,5 @@
|
|||
|
||||
cd /tmp/$1
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue