Open r0mflip opened 5 years ago
/pinging @scottcorgan
/pinging again @scottcorgan
hey @r0mflip I'd like to include this fix in a fork, but I've updated readable-stream and I may need your help. Care to take another shot at this? cheers!
Hi @spencermountain I've been off-of this project and tap
for a while now (my my, 2 years). But let me know how I can help.
This tries to solve the problems discussed in https://github.com/substack/tape/pull/465 and https://github.com/substack/tape/pull/466
Piping to
split()
and listening toend
orclose
events doesn't work becausetape
emits end when the process exits. Explicitly writing data tosplitStream
emits the events at right time. It's better to use the theend
event thanclose
because by the timeclose
occurs the process is in the state of dying and the output tostdout
is lost.