mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-06 10:43:14 +00:00
Flush stderr to avoid lost output.
This commit is contained in:
@@ -161,6 +161,7 @@ def print_stderr(*args, **kwargs):
|
||||
"""Print to stderr."""
|
||||
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
sys.stderr.flush()
|
||||
|
||||
|
||||
def dump_stderr(label, l):
|
||||
|
||||
Reference in New Issue
Block a user