#!/bin/bash # set -o xtrace ## To debug scripts # set -o errexit ## To exit on error # set -o errunset ## To exit if a variable is referenced but not set function main() { SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )" source "/home/abaddon/Portable_Apps/py-venvs/pycornia-venv/bin/activate" python "${SCRIPTPATH}" } main $@;