Kind of sad but potentially a necessary compromise: pty.js redirects all output to stdout