OSDN Git Service

Do not use popen, it uses a hardcoded path for "sh".
authorNicolas Geoffray <ngeoffray@google.com>
Thu, 30 Jun 2016 14:07:46 +0000 (15:07 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Fri, 1 Jul 2016 08:41:12 +0000 (09:41 +0100)
commit56fe0f0c9cedcad1df873df59b7e78382e766db8
tree97ad7f80c6a447b3d2a685c5deeaaf38b6ddc241
parente4305391dab34a6ea117c261e5602e9a7457b312
Do not use popen, it uses a hardcoded path for "sh".

Instead, do the fork/exec/pipe ourselves.

Bug: 29557002
Change-Id: Iee81b0a7e8818706fd97890f97c1e86f37e42995
Test: test-art-host-gtest-dex2oat_test
dex2oat/dex2oat_test.cc