summaryrefslogtreecommitdiff
path: root/runtime/exec_utils.cc
AgeCommit message (Collapse)Author
2021-01-18Add an overload of ExecAndReturnCode taking a timeout Orion Hodson
Enables callers to timeout waiting on a subprocess. Bug: 177432913 Test: test-art-host-gtest-art_runtime_tests32 Change-Id: I7a27e0ca4679f45daf815d7e2563ca9b723bd701
2017-06-08ART: Fix or disable some tidy warnings. Andreas Gampe
Add a strlcpy shim for the host, so we can use strlcpy instead of strcpy everywhere. Fixed warnings include unused-decls, (some) unreachable code, use after std::move, string char append, leaks, (some) excessive padding. Disable some warnings we cannot or do not want to avoid. Bug: 32619234 Test: m Test: m test-art-host Change-Id: Ie191985eebb160d94b988b41735d4f0a1fa1b54e
2017-02-01Separate art::Exec from utils David Sehr
The rest of utils.cc does not depend on art::Runtime. This separates the part dependent on that class, so that including utils.cc in the build does not require the entire Runtime. Another preparatory cleanup to getting tools to build on Windows. Bug: 22322814 Test: test-art Change-Id: I194ff363fc2ab87e5311ecea6973a2d0fad2621d