diff options
author | 2014-02-25 04:42:53 +0000 | |
---|---|---|
committer | 2014-02-25 04:42:54 +0000 | |
commit | fffb0b7e23796e5470f4fab4611f2fcc4a16979c (patch) | |
tree | 3c2fd045f635a0511149272af9ff55a01a31b83c /runtime/utils.h | |
parent | a0c9b085d4ecf90ca3aa1252e81e65072b377ca4 (diff) | |
parent | 6449c62e40ef3a9bb75f664f922555affb532ee4 (diff) |
Merge "Create CompilerOptions"
Diffstat (limited to 'runtime/utils.h')
-rw-r--r-- | runtime/utils.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/utils.h b/runtime/utils.h index e2d89667c7..0bb06de27e 100644 --- a/runtime/utils.h +++ b/runtime/utils.h @@ -396,6 +396,9 @@ bool IsZipMagic(uint32_t magic); bool IsDexMagic(uint32_t magic); bool IsOatMagic(uint32_t magic); +// Wrapper on fork/execv to run a command in a subprocess. +bool Exec(std::vector<std::string>& arg_vector, std::string* error_msg); + class VoidFunctor { public: template <typename A> |