Force a flush of the file object prior to closing it when running tasks

This commit is contained in:
Matthew Jones 2014-08-13 15:39:42 -04:00
parent 1656a49623
commit dfb2200d8d

View File

@ -404,6 +404,7 @@ class BaseTask(Task):
except OSError:
pass
try:
stdout_handle.flush()
stdout_handle.close()
except Exception:
pass