소스 검색

Adding un-buffer flag to python for uptodate output

Andrej Studen 3 년 전
부모
커밋
f1c4e7b732
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  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 &