Permalink
Browse files

Add explicit flush. Closes #1106

  • Loading branch information...
mnaberez committed Jun 1, 2018
1 parent 85558b4 commit de8d62261dee48c89430fefd3d0b715424f740b2
Showing with 4 additions and 0 deletions.
  1. +3 −0 CHANGES.txt
  2. +1 −0 supervisor/childutils.py
View
@@ -38,6 +38,9 @@
- Fixed a bug where searching for a relative command ignored changes to
``PATH`` made in ``environment=``. Based on a patch by dongweiming.
- ``childutils.ProcessCommunicationsProtocol`` now does an explit ``flush()``
after writing to ``stdout``.
3.3.4 (2018-02-15)
------------------
View
@@ -41,6 +41,7 @@ def send(self, msg, fp=sys.stdout):
fp.write(ProcessCommunicationEvent.BEGIN_TOKEN)
fp.write(msg)
fp.write(ProcessCommunicationEvent.END_TOKEN)
fp.flush()
def stdout(self, msg):
return self.send(msg, sys.stdout)

0 comments on commit de8d622

Please sign in to comment.