aboutsummaryrefslogtreecommitdiff
path: root/spawn.c (unfollow)
Commit message (Expand)AuthorLines
2024-07-23spawn: add optional reaper callback, return pid_tDaniel Eklöf-7/+7
2024-01-25Replace unchecked allocations with calls to xmalloc.h functionsCraig Barnes-1/+1
2022-10-02spawn: set $PWD, in addition to calling chdir(cwd)Daniel Eklöf-3/+6
2022-05-05url-mode: add support for XDG activation when opening URLsDaniel Eklöf-2/+13
2022-02-12Explicitly initialize sigaction::sa_mask members with sigemptyset(3)Craig Barnes-1/+3
2021-08-30spawn: don’t error out if we fail to chdir()Daniel Eklöf-1/+5
2021-06-23config: add new function config_clone()Daniel Eklöf-3/+5
2021-06-02slave/spawn: restore SIGHUP handler after fork(), before exec()Daniel Eklöf-0/+4
2021-02-25spawn: call setsid() in child processDaniel Eklöf-9/+13
2021-02-24spawn: handle custom stdin/stdout/stderr fds being the sameDaniel Eklöf-3/+10
2021-02-21errno: don’t use ‘_errno’ as a variable name; _ are reserved for use as identifiersDaniel Eklöf-11/+12
2021-02-21spawn/slave: restore signal mask after forkDaniel Eklöf-0/+11
2021-02-07notify: break out command template expansion to spawn_expand_template()Daniel Eklöf-0/+80
2021-01-21reaper: add optional callbackDaniel Eklöf-1/+1
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-1/+1
2021-01-16Print stack trace on assert() failure or when calling fatal_error()Craig Barnes-1/+1
2020-12-26reaper: add optional callbackDaniel Eklöf-1/+1
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-149/+20
2020-08-23log: include 'fmt' in __VA_ARGS__Daniel Eklöf-1/+1
2020-07-15spawn: add optional stdin/stdout/stderr redirection FDsDaniel Eklöf-3/+7
2020-07-15term: break out fork+exec functionality to a separate fileDaniel Eklöf-0/+72