diff options
author | Evan Martin <martine@danga.com> | 2011-05-06 18:46:11 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-05-06 19:21:06 (GMT) |
commit | 6cf3f79fb45e196bd47ea25f9c030c3364494ebc (patch) | |
tree | ad165d26cee376a8383b3ffa44acbb31cad4626c /src/build.cc | |
parent | 661c5435e8bf108ded8ba795cc0a3aafda03b791 (diff) | |
download | Ninja-6cf3f79fb45e196bd47ea25f9c030c3364494ebc.zip Ninja-6cf3f79fb45e196bd47ea25f9c030c3364494ebc.tar.gz Ninja-6cf3f79fb45e196bd47ea25f9c030c3364494ebc.tar.bz2 |
windows: subprocess implementation for Windows
Heavily based on a patch from Sergey Nenakhov <nenakhov.sergey@gmail.com>.
Diffstat (limited to 'src/build.cc')
-rw-r--r-- | src/build.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/build.cc b/src/build.cc index 03c692c..913bc31 100644 --- a/src/build.cc +++ b/src/build.cc @@ -291,7 +291,7 @@ bool RealCommandRunner::StartCommand(Edge* edge) { string command = edge->EvaluateCommand(); Subprocess* subproc = new Subprocess; subproc_to_edge_.insert(make_pair(subproc, edge)); - if (!subproc->Start(command)) + if (!subproc->Start(&subprocs_, command)) return false; subprocs_.Add(subproc); |