diff options
author | Joe Onorato <joeo@google.com> | 2016-10-21 15:18:18 -0700 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2016-10-21 15:29:51 -0700 |
commit | 31617e3b8ff01bb016446a0d2cb687b25aee42c6 (patch) | |
tree | 1fee34290d7cd81940c106b510c1ac9bc19e7145 /tools/bit/command.h | |
parent | 95376c1d36600982c6546ad2101b3bf4a1973aa1 (diff) |
Another mac fix
Test: make (on linux)
Change-Id: I3f0561f3a1fc08dad5d3dd8ba860da56b51d273c
Diffstat (limited to 'tools/bit/command.h')
-rw-r--r-- | tools/bit/command.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/bit/command.h b/tools/bit/command.h index eb0b88f8d1ac..fb44900b0806 100644 --- a/tools/bit/command.h +++ b/tools/bit/command.h @@ -54,5 +54,8 @@ string get_command_output(const Command& command, int* err, bool quiet=false); */ int run_command(const Command& command); +// Mac OS doesn't have execvpe. This is the same as execvpe. +int exec_with_path_search(const char* prog, char const* const* argv, char const* const* envp); + #endif // COMMAND_H |