summaryrefslogtreecommitdiffstats
path: root/spawn.c
AgeCommit message (Collapse)Author
2019-07-08spawn: Actually fix moving the pipe out of the wayTavian Barnes
We have to check in_fd after out_fd, otherwise the dup() may move it to in_fd.
2019-07-05spawn: Fix moving the pipe out of the wayTavian Barnes
The old code could dup() the pipe from in_fd to out_fd, for example, and neglected to keep it CLOEXEC.
2019-06-16spawn: Move the pipe FD out of the way of input FDs tooTavian Barnes
2019-05-31spawn: Add dup2() and close() file actionsTavian Barnes
2018-09-19spawn: Add some docsTavian Barnes
2018-09-19spawn: Implement execvpe() on platforms that lack itTavian Barnes
Credit to https://github.com/nim-lang/Nim/issues/3138 for the idea to just overwrite environ and call execvp() instead of duplicating the path searching logic.
2018-09-18spawn: New posix_spawn()-like API for execTavian Barnes