浏览代码

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 &