Browse Source
Our struct child_process already has its own argv_array. Let's use that to avoid having to format options into separate buffers. Note that we'll need to declare the child process outside of the run_service_command() helper to do this. But that opens up a further simplification, which is that the helper can append to our argument list, saving each caller from specifying "." manually. Signed-off-by: Jeff King <peff@peff.net>maint
Jeff King
8 years ago
committed by
Junio C Hamano
1 changed files with 17 additions and 21 deletions
Loading…
Reference in new issue