use latest version of python in executor

This commit is contained in:
Brian Seymour 2020-03-29 16:25:39 -05:00
parent d7b82b5218
commit 9e7e53d45d
2 changed files with 2 additions and 1 deletions

View File

@ -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.6 code.code"
runuser runner$1 -c "cd /tmp/$2 ; cat args.args | xargs -d '\n' timeout -s KILL 3 python3.8 code.code"

View File

@ -67,6 +67,7 @@ tar -xf Python-3.8.2.tar
cd Python-3.8.2
./configure
make
ln -s python python3.8
echo 'export PATH=$PATH:/opt/python3/Python-3.8.2' >> /opt/.profile
source /opt/.profile