hyperhq / runv

Hypervisor-based Runtime for OCI
Apache License 2.0
828 stars 129 forks source link

make tty stdout/stderr from writecloser to writer #344

Closed gnawux closed 8 years ago

gnawux commented 8 years ago

change stdout/stderr in tty struct from WriteCloser to Writer

we want to use stdcopy stream for non-tty attach/exec stream, which is Writer instead of WriterCloser, and looks Writer works for us.