aboutsummaryrefslogtreecommitdiff
path: root/format.c
diff options
context:
space:
mode:
authornicm <nicm>2020-03-19 13:43:18 +0000
committernicm <nicm>2020-03-19 13:43:18 +0000
commite8273a993ec79a58ffff16eba17d0551c690c4db (patch)
tree42b0c159fc138b4a0e49fe39afe881cdd093d511 /format.c
parent581ed718e737fd3875323e74b674bcf7f9d0bcb3 (diff)
downloadrtmux-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 'format.c')
-rw-r--r--format.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/format.c b/format.c
index 14d56126..fe8e9c68 100644
--- a/format.c
+++ b/format.c
@@ -354,7 +354,7 @@ format_job_get(struct format_tree *ft, const char *cmd)
if (force || (fj->job == NULL && fj->last != t)) {
fj->job = job_run(expanded, NULL,
server_client_get_cwd(ft->client, NULL), format_job_update,
- format_job_complete, NULL, fj, JOB_NOWAIT);
+ format_job_complete, NULL, fj, JOB_NOWAIT, -1, -1);
if (fj->job == NULL) {
free(fj->out);
xasprintf(&fj->out, "<'%s' didn't start>", fj->cmd);