mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 05:26:28 +02:00
9 lines
189 B
Bash
9 lines
189 B
Bash
#!/bin/bash
|
|
|
|
# cd /tmp/$1
|
|
|
|
sed 's/^.*$/:- forall((Goal = (\0), call(Goal)), (write(Goal), nl))./' input.input |
|
|
cat code.code - > code.pl
|
|
|
|
timeout -s KILL 3 swipl -g true -t halt code.pl
|
|
|