mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
Add a flag to run a background process in a pty as well, not used for
anything yet.
This commit is contained in:
5
tmux.h
5
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 *);
|
||||
|
Reference in New Issue
Block a user