Index: subprocess.cc |
diff --git a/subprocess.cc b/subprocess.cc |
index 49fc4c35c22e098413166310de5d8063b642a7e4..af5fb757a16743c425667bc8e541125c6e4b7257 100755 |
--- a/subprocess.cc |
+++ b/subprocess.cc |
@@ -162,7 +162,8 @@ bool Subprocess::SynchronousExecFlags(const std::vector<std::string>& cmd, |
NULL, // working directory |
argv.get(), |
argp, |
- static_cast<GSpawnFlags>(G_SPAWN_STDERR_TO_DEV_NULL | flags), // flags |
+ static_cast<GSpawnFlags>(G_SPAWN_STDERR_TO_DEV_NULL | |
+ G_SPAWN_SEARCH_PATH | flags), // flags |
GRedirectStderrToStdout, // child setup function |
NULL, // data for child setup function |
&child_stdout, |