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:
parent
3d569df41d
commit
10b956a012
3 changed files with 8 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue