diff options
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> |