diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 04:57:30 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-07-23 05:17:21 +0000 |
| commit | a42f99081876dd02e28b931f7c0e70230355bb58 (patch) | |
| tree | c49e60ec7ce07cead0767afd8d2bd896679a32af /input.c | |
| parent | osc: kitty notifications: use body as title, if no title is set (diff) | |
spawn: add optional reaper callback, return pid_t
This will allow spawn() callers to do things when the spawned process
has terminated.
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -306,8 +306,8 @@ execute_binding(struct seat *seat, struct terminal *term, } } - if (!spawn(term->reaper, term->cwd, binding->aux->pipe.args, - pipe_fd[0], stdout_fd, stderr_fd, NULL)) + if (spawn(term->reaper, term->cwd, binding->aux->pipe.args, + pipe_fd[0], stdout_fd, stderr_fd, NULL, NULL, NULL) < 0) goto pipe_err; /* Close read end */ |
