mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02: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…
Reference in a new issue