···1919 #!/usr/bin/env fish
2020 set fn (fd -d 1 -t f {{part}})
2121 if test -n "$fn" -a -x "$fn"
2222- time ./$fn < {{input}}
2222+ time "./$fn" < {{input}}
2323 else if test -f {{part}}.pl
2424- and time swipl -s "$fn" -g main,halt < {{input}}
2424+ time swipl -s "$fn" -g main,halt < {{input}}
2525+ else if test -f {{part}}.py
2626+ time python3 "$fn" < {{input}}
2727+ else if test -f {{part}}.c
2828+ gcc "$fn" -o {{part}} > /dev/null
2929+ and time ./{{part}} < {{input}}
3030+ else if test -f {{part}}.cpp
3131+ g++ -std=c++2c "$fn" -o {{part}} > /dev/null
3232+ and time ./{{part}} < {{input}}
2533 else if test -f {{part}}.hs
2634 ghc {{part}} -O -outputdir.{{part}} > /dev/null
2735 and time ./{{part}} < {{input}}