Index: build/android/devil/android/device_utils.py |
diff --git a/build/android/devil/android/device_utils.py b/build/android/devil/android/device_utils.py |
index e01f462ea86a0d640b19e42a93217cd6080ebc12..432677f91917734e31f48c9392339ce3c30de90d 100644 |
--- a/build/android/devil/android/device_utils.py |
+++ b/build/android/devil/android/device_utils.py |
@@ -752,7 +752,7 @@ class DeviceUtils(object): |
def handle_large_output(cmd, large_output_mode): |
if large_output_mode: |
with device_temp_file.DeviceTempFile(self.adb) as large_output_file: |
- cmd = '%s > %s' % (cmd, large_output_file.name) |
+ cmd = '( %s )>%s' % (cmd, large_output_file.name) |
logging.debug('Large output mode enabled. Will write output to ' |
'device and read results from file.') |
handle_large_command(cmd) |