handles stdout/stderr from the passenger command correctly so the plugin can run fine without tty