diff --git a/run.sh b/run.sh index a99bce4..0110f46 100755 --- a/run.sh +++ b/run.sh @@ -5,6 +5,5 @@ SCRIPT="$1" shift -cd $SCRIPTS_DIR - -pipenv run sh -c "cd $WORKING_DIR && ${SCRIPTS_DIR}/${SCRIPT}.py \"$@\"" +. $(cd $SCRIPTS_DIR && pipenv --venv)/bin/activate +${SCRIPTS_DIR}/${SCRIPT}.py "$@"