Commit ab01d0a8 authored by Richard M. Stallman's avatar Richard M. Stallman

(create_process): Use child_setup_tty only if pty_flag.

parent 13a72104
......@@ -1376,7 +1376,8 @@ create_process (process, new_argv, current_dir)
#endif /* not BSD4_1 */
#endif /* SIGCHLD */
child_setup_tty (xforkout);
if (pty_flag)
child_setup_tty (xforkout);
child_setup (xforkin, xforkout, xforkout,
new_argv, 1, current_dir);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment