platform_build_soong/cmd/sbox
Colin Cross 4258a39bd1 sbox: print failing command line before output
The full command line run inside sbox can be very long, and printing it
after the errors printed by the failing command can hide the error
messages.  Buffer the output of the command and print the failing command
line before the output if it fails.

Bug: 185516277
Test: m out/soong/.intermediates/frameworks/base/system-api-stubs-docs-non-updatable/android_common/metalava/api_lint.timestamp with lint error
Change-Id: I893f3dd01f1baf195e182111c5c49e92eb82f3b0
2021-04-16 14:55:12 -07:00
..
sbox_proto Pass rsp files into sbox and rewrapper 2021-03-25 11:06:45 -07:00
Android.bp Pass rsp files into sbox and rewrapper 2021-03-25 11:06:45 -07:00
sbox.go sbox: print failing command line before output 2021-04-16 14:55:12 -07:00