Re: [PATCH v6 00/11] forking and threading
- From
- Brandon Williams <bmwill@google.com>
- Date
- Apr 24, 2017, 22:37 UTC
- Message-ID
- <20170424223752.GB105623@google.com>
- In-Reply-To
- <20170419231327.49895-1-bmwill@google.com>
On 04/19, Brandon Williams wrote:
Show 18 quoted lines
> Changes in v6: > * fix some windows compat issues > * better comment on the string_list_remove function (also marked extern) > > Brandon Williams (10): > t5550: use write_script to generate post-update hook > t0061: run_command executes scripts without a #! line > run-command: prepare command before forking > run-command: use the async-signal-safe execv instead of execvp > string-list: add string_list_remove function > run-command: prepare child environment before forking > run-command: don't die in child when duping /dev/null > run-command: eliminate calls to error handling functions in child > run-command: handle dup2 and close errors in child > run-command: add note about forking and threading > > Eric Wong (1): > run-command: block signals between fork and execve
Just as an FYI there's a bug with this code where it'll try to execute a directory. I'm adding a test and fixing it. Since this topic is in next I'll base the patch on top of this series.
-- Brandon Williams