diff options
author | Thomas Adam <thomas@xteddy.org> | 2017-01-23 12:20:43 +0000 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2017-01-23 12:20:43 +0000 |
commit | b3a724f30ced2f3be3a52fb54c6551b2b6c6de63 (patch) | |
tree | eba69fe13464cf92fcf64cf32505e308949718b6 /window.c | |
parent | d2eab39ffa42a0d5d8e796cbe3352f951f42b4f7 (diff) | |
parent | 98e7fbb2acee0238381feea5d583fc439aae08e2 (diff) | |
download | rtmux-b3a724f30ced2f3be3a52fb54c6551b2b6c6de63.tar.gz rtmux-b3a724f30ced2f3be3a52fb54c6551b2b6c6de63.tar.bz2 rtmux-b3a724f30ced2f3be3a52fb54c6551b2b6c6de63.zip |
Merge branch 'obsd-master'
Conflicts:
Makefile
tmux.c
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -892,7 +892,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv, ws.ws_col = screen_size_x(&wp->base); ws.ws_row = screen_size_y(&wp->base); - switch (wp->pid = forkpty(&wp->fd, wp->tty, NULL, &ws)) { + switch (wp->pid = pty_fork(ptm_fd, &wp->fd, wp->tty, sizeof wp->tty, &ws)) { case -1: wp->fd = -1; xasprintf(cause, "%s: %s", cmd, strerror(errno)); |