Add equivalent coverage between main- and sub-process output capture