Преглед изворни кода

Have runPython.sh run within venv, nnUnet set

Andrej Studen пре 3 година
родитељ
комит
4d0276ab7b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      pythonScripts/runPython.sh

+ 2 - 2
pythonScripts/runPython.sh

@@ -1,4 +1,4 @@
 #!/bin/bash
 
-
-nohup python3 $1  0<&- &> $HOME/logs/runPython.log &
+. ~/venv/nnUNet/bin/activate
+nohup python $@  0<&- &> $HOME/logs/runPython.log &