From e8273a993ec79a58ffff16eba17d0551c690c4db Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 19 Mar 2020 13:43:18 +0000 Subject: Add a flag to run a background process in a pty as well, not used for anything yet. --- tmux.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tmux.h') diff --git a/tmux.h b/tmux.h index 72e0e9b9..043cb070 100644 --- a/tmux.h +++ b/tmux.h @@ -1929,8 +1929,11 @@ typedef void (*job_update_cb) (struct job *); typedef void (*job_complete_cb) (struct job *); typedef void (*job_free_cb) (void *); #define JOB_NOWAIT 0x1 +#define JOB_KEEPWRITE 0x2 +#define JOB_PTY 0x4 struct job *job_run(const char *, struct session *, const char *, - job_update_cb, job_complete_cb, job_free_cb, void *, int); + job_update_cb, job_complete_cb, job_free_cb, void *, int, + int, int); void job_free(struct job *); void job_check_died(pid_t, int); int job_get_status(struct job *); -- cgit