allow subprocess output to trigger flush

only affects the case of an idle kernel.

This treats subprocess output the same as background thread output.

closes #5779