From 269547f75b56ea798ea781ff0da6e44834e08f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Barbi=C4=87?= Date: Sun, 8 Nov 2020 18:03:28 +0100 Subject: [PATCH 1/3] Fix paradoc --- lxc/executors/python3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/executors/python3 b/lxc/executors/python3 index 0749d88..935aa3d 100755 --- a/lxc/executors/python3 +++ b/lxc/executors/python3 @@ -1,2 +1,2 @@ cd /tmp/$2 -runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.8 code.code" +runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 python3.8 code.code <<< args.args" From 38638aa6f65dd154fdf306401a445e204d7ad85e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Barbi=C4=87?= Date: Sun, 8 Nov 2020 19:13:22 +0100 Subject: [PATCH 2/3] Fix screwup --- lxc/executors/python3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/executors/python3 b/lxc/executors/python3 index 935aa3d..0749d88 100755 --- a/lxc/executors/python3 +++ b/lxc/executors/python3 @@ -1,2 +1,2 @@ cd /tmp/$2 -runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 python3.8 code.code <<< args.args" +runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.8 code.code" From 93600d75fedf85cdebeda5a9fc8bac230909dc3e Mon Sep 17 00:00:00 2001 From: Vrganj Date: Sun, 8 Nov 2020 19:15:56 +0100 Subject: [PATCH 3/3] Actually fix paradoc --- lxc/executors/paradoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc/executors/paradoc b/lxc/executors/paradoc index 4a7e9c5..33fe880 100755 --- a/lxc/executors/paradoc +++ b/lxc/executors/paradoc @@ -1,2 +1,2 @@ cd /tmp/$2 -runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3 -m paradoc code.code" +runuser runner$1 -c "cd /tmp/$2 ; timeout -s KILL 3 python3 -m paradoc code.code <<< args.args"