Explorar o código

Adding un-buffer flag to python for uptodate output

Andrej Studen %!s(int64=3) %!d(string=hai) anos
pai
achega
f1c4e7b732
Modificáronse 1 ficheiros con 3 adicións e 2 borrados
  1. 3 2
      pythonScripts/runPythonnnUNet.sh

+ 3 - 2
pythonScripts/runPythonnnUNet.sh

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