Fix missing stderr output
When running with a TTY, remote stderr data gets sent as a normal data packet 0, ending up in the local stdout.
With e.g. vmexec run --tty never archlinux 'invalid command'
, stderr
will instead get sent as an ExtendedData
packet which we need to
handle. Before this commit, the above command should output nothing.
With the fix, it should output an error on stderr.