mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-28 03:00:23 -07:00
Actually add stdout data to stdout buffer for daemon mode
This commit is contained in:
parent
d5e63332fe
commit
dab31116b3
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ class Service(object):
|
|||
dat = os.read(p.stdout.fileno(), 4096)
|
||||
if not dat:
|
||||
fds.remove(p.stdout)
|
||||
stdout += dat
|
||||
if p.stderr in rfd:
|
||||
dat = os.read(p.stderr.fileno(), 4096)
|
||||
if not dat:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue