Closed cameronr closed 5 years ago
on.stdout/stderr can be called multiple times so only call setTimeout when the child closes its pipes.
Technically, the code should buffer the results of on.stdout (since you don't know if you get the full response) but I'm too lazy to change it.
on.stdout/stderr can be called multiple times so only call setTimeout when the child closes its pipes.
Technically, the code should buffer the results of on.stdout (since you don't know if you get the full response) but I'm too lazy to change it.