From 6632db44ae214e7ea943e822cc1bdcb568f1c738 Mon Sep 17 00:00:00 2001 From: Gao feng Date: Tue, 15 Mar 2016 11:36:11 +0800 Subject: [PATCH] request to setup tty for exec by default Signed-off-by: Gao feng --- src/parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parse.c b/src/parse.c index 32fee32..a7513f6 100644 --- a/src/parse.c +++ b/src/parse.c @@ -1029,6 +1029,7 @@ realloc: goto out; } + exec->tty = 1; exec->ptyfd = -1; exec->stdinfd = -1; exec->stdoutfd = -1;