diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-07-15 11:33:56 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-07-15 11:33:56 +0000 |
| commit | 69d9ff3f2573dc46d558a5134a93165a7ec212d0 (patch) | |
| tree | 88963222569800edc292dc9d2f81f12555fcbe82 /terminal.c | |
| parent | config: add support for appending a 'spawn' argument to key bindings (diff) | |
spawn: add optional stdin/stdout/stderr redirection FDs
If not -1, spawn() will redirect the child's stdin/stdout/stderr to
these FDs.
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2248,7 +2248,8 @@ bool term_spawn_new(const struct terminal *term) { return spawn( - term->reaper, term->cwd, (char *const []){term->foot_exe, NULL}); + term->reaper, term->cwd, (char *const []){term->foot_exe, NULL}, + -1, -1, -1); } void |
