add subprocess-spawning to msvc_helper
authorEvan Martin <martine@danga.com>
Sun, 12 Aug 2012 21:52:18 +0000 (14:52 -0700)
committerEvan Martin <martine@danga.com>
Sun, 12 Aug 2012 21:52:18 +0000 (14:52 -0700)
commit1843f550d9b8b6d271cefdfb5fffd150bb8ef069
tree6d4e9aa59249d5397f954ba541333126c5d52f38
parent031237133e33ee4eb5e9641396d6b0f566b575c8
add subprocess-spawning to msvc_helper

Rather than using subprocess.h, reimplement the subprocess code.
This allows:
1) using anonymous (instead of named) pipes
2) not using all the completion port craziness
3) printing the output as it happens
4) further variation, like adjusting the environment (in a forthcoming
   change) without affecting the main subprocess code
src/msvc_helper-win32.cc
src/msvc_helper.h
src/msvc_helper_test.cc