Use posix_spawn in git-prompt.c #16

Open
opened 2018-10-11 19:14:22 +00:00 by benie · 0 comments
Owner

Using posix_spawn
instead of fork/execvp has lower overhead as it does not perform as much
setup work to execute the child process. Use it instead.

Using [posix_spawn](http://man7.org/linux/man-pages/man3/posix_spawn.3.html) instead of `fork`/`execvp` has lower overhead as it does not perform as much setup work to execute the child process. Use it instead.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: config/zsh#16
No description provided.