mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-23 01:03:35 -05:00
Force a flush of the file object prior to closing it when running tasks
This commit is contained in:
@@ -404,6 +404,7 @@ class BaseTask(Task):
|
||||
except OSError:
|
||||
pass
|
||||
try:
|
||||
stdout_handle.flush()
|
||||
stdout_handle.close()
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user