#!/bin/bash LOG=$HOME/logs/runPython.log rm $LOG; . ~/venv/nnUNet/bin/activate nohup python -u $@ 0<&- &> $LOG &