aboutsummaryrefslogtreecommitdiff
path: root/spawn.c (unfollow)
Commit message (Collapse)AuthorLines
2021-01-21reaper: add optional callbackDaniel Eklöf-1/+1
When calling ‘reaper_add()’, the caller can provide a callback. If non-NULL, the reaper will call the callback to handle the actual reaping. If the callback is NULL, or if it returns false, the reaper reaps the child process.
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-1/+1
Assume it could be a copy-paste typo. We should check PRIMARY, not CLIPBOARD. Without this fix, we can't use PRIMARY until we copy anything to CLIPBOARD.
2020-08-23log: include 'fmt' in __VA_ARGS__Daniel Eklöf-1/+1
This ensures all calls have at least one __VA_ARGS__ argument, thus making them ISO C99 compliant.
2020-07-15spawn: add optional stdin/stdout/stderr redirection FDsDaniel Eklöf-3/+7
If not -1, spawn() will redirect the child's stdin/stdout/stderr to these FDs.
2020-07-15term: break out fork+exec functionality to a separate fileDaniel Eklöf-0/+72