Run any interactive command in a PTY, while being able to record any input or output (including stderr)