summaryrefslogtreecommitdiff
path: root/runtime/utils.h
diff options
context:
space:
mode:
author Brian Carlstrom <bdc@google.com> 2014-02-25 04:42:53 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2014-02-25 04:42:54 +0000
commitfffb0b7e23796e5470f4fab4611f2fcc4a16979c (patch)
tree3c2fd045f635a0511149272af9ff55a01a31b83c /runtime/utils.h
parenta0c9b085d4ecf90ca3aa1252e81e65072b377ca4 (diff)
parent6449c62e40ef3a9bb75f664f922555affb532ee4 (diff)
Merge "Create CompilerOptions"
Diffstat (limited to 'runtime/utils.h')
-rw-r--r--runtime/utils.h3
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>