diff options
author | 2020-03-19 13:43:18 +0000 | |
---|---|---|
committer | 2020-03-19 13:43:18 +0000 | |
commit | a6396ca2109ffade1059ac1e2c36239f4e588edc (patch) | |
tree | af83ae5d23b3e7f8c4d4d398b8f72f10e340a189 /usr.bin/tmux/cmd-run-shell.c | |
parent | Add C position for terminal centre with display-menu -x and -y. (diff) | |
download | wireguard-openbsd-a6396ca2109ffade1059ac1e2c36239f4e588edc.tar.xz wireguard-openbsd-a6396ca2109ffade1059ac1e2c36239f4e588edc.zip |
Add a flag to run a background process in a pty as well, not used for
anything yet.
Diffstat (limited to 'usr.bin/tmux/cmd-run-shell.c')
-rw-r--r-- | usr.bin/tmux/cmd-run-shell.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-run-shell.c b/usr.bin/tmux/cmd-run-shell.c index f4e8b8e6fab..65dac3d6d4d 100644 --- a/usr.bin/tmux/cmd-run-shell.c +++ b/usr.bin/tmux/cmd-run-shell.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-run-shell.c,v 1.61 2020/03/13 06:19:33 nicm Exp $ */ +/* $OpenBSD: cmd-run-shell.c,v 1.62 2020/03/19 13:43:18 nicm Exp $ */ /* * Copyright (c) 2009 Tiago Cunha <me@tiagocunha.org> @@ -145,8 +145,8 @@ cmd_run_shell_timer(__unused int fd, __unused short events, void* arg) if (cdata->cmd != NULL) { if (job_run(cdata->cmd, cdata->s, cdata->cwd, NULL, - cmd_run_shell_callback, cmd_run_shell_free, cdata, - 0) == NULL) + cmd_run_shell_callback, cmd_run_shell_free, cdata, 0, -1, + -1) == NULL) cmd_run_shell_free(cdata); } else { if (cdata->item != NULL) |