~zyga/checkbox/fix-1443911

Viewing all changes in revision 3689.

  • Committer: Zygmunt Krynicki
  • Date: 2015-04-14 13:07:34 UTC
  • Revision ID: zygmunt.krynicki@canonical.com-20150414130734-0ppdv3q3x3xd1ah7
plainbox:commands:run: flush on each part of IO

This patch enables explicit flush on each write that came from a job
process. This is normally line-based IO for all the text-based jobs.

When using CHUNKED_IO with legacy thread+blocking IO extcmd this is
actually triggered on each byte read so we get "live" output, as it
happens.

Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: