Create new workspace for every eval

This commit is contained in:
1computer1 2019-06-15 21:22:43 -04:00
parent bc67dbbfd7
commit 700b66c183
23 changed files with 17 additions and 99 deletions

View file

@ -1,5 +1,3 @@
mkdir "$CODEDIR" && cd "$CODEDIR"
printf %s "$1" > program.pas
# fpc does not use stderr, ld however does, capture both
@ -10,5 +8,3 @@ if [ $? -eq 0 ]; then
else
printf %s "$res"
fi
cd .. && rm -rf "$CODEDIR"