request to setup tty for exec by default

Signed-off-by: Gao feng <omarapazanadi@gmail.com>
This commit is contained in:
Gao feng
2016-03-15 11:36:11 +08:00
parent 613a5a19db
commit 6632db44ae
+1
View File
@@ -1029,6 +1029,7 @@ realloc:
goto out;
}
exec->tty = 1;
exec->ptyfd = -1;
exec->stdinfd = -1;
exec->stdoutfd = -1;