Use posix_spawn() instead of fork()/exec().
authorNico Weber <nicolasweber@gmx.de>
Mon, 21 Mar 2016 01:41:15 +0000 (21:41 -0400)
committerNico Weber <nicolasweber@gmx.de>
Mon, 21 Mar 2016 01:42:17 +0000 (21:42 -0400)
commit89587196705f54afb904c8f4572e65de7274dd81
treec5029715235334ab282237f941f86da3eaf68707
parentb231274de33a6ebaa5ed284eb233fa360d84ad8f
Use posix_spawn() instead of fork()/exec().

posix_spawn() is a syscall on OS X and Solaris and a bit faster.  It's
also easier emulate for cygwin, and the code is a bit simpler.
src/subprocess-posix.cc
src/subprocess_test.cc