I noted this on the other PR too, but the output streams should be captured too as they could result in buffer overflows on the OS.