diff options
author | nicm <nicm> | 2020-03-19 13:43:18 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-03-19 13:43:18 +0000 |
commit | e8273a993ec79a58ffff16eba17d0551c690c4db (patch) | |
tree | 42b0c159fc138b4a0e49fe39afe881cdd093d511 /cmd-run-shell.c | |
parent | 581ed718e737fd3875323e74b674bcf7f9d0bcb3 (diff) | |
download | rtmux-e8273a993ec79a58ffff16eba17d0551c690c4db.tar.gz rtmux-e8273a993ec79a58ffff16eba17d0551c690c4db.tar.bz2 rtmux-e8273a993ec79a58ffff16eba17d0551c690c4db.zip |
Add a flag to run a background process in a pty as well, not used for
anything yet.
Diffstat (limited to 'cmd-run-shell.c')
-rw-r--r-- | cmd-run-shell.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-run-shell.c b/cmd-run-shell.c index bc21cc9c..1cf97d51 100644 --- a/cmd-run-shell.c +++ b/cmd-run-shell.c @@ -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) |