1
Fork 0

Allow piped stdout/stderr use uv_tty_t

There are issues with reading stdin when it is actually attached to a pipe, but
I have run into no problems in writing to stdout/stderr when they are attached
to pipes.
This commit is contained in:
Alex Crichton 2013-11-18 16:26:03 -08:00
parent 3d569df41d
commit 10b956a012
3 changed files with 8 additions and 1 deletions

View file

@ -167,6 +167,7 @@ impl rtio::RtioTTY for FileDesc {
fn get_winsize(&mut self) -> Result<(int, int), IoError> {
Err(super::unimpl())
}
fn isatty(&self) -> bool { false }
}
impl Drop for FileDesc {