Index: tools/testing/dart/android.dart |
diff --git a/tools/testing/dart/android.dart b/tools/testing/dart/android.dart |
index 615d5b0abcbc4bca0773510ab1b7981c47c7e532..985f6bc99a7ba67b6313d82698b5f6a753ed5474 100644 |
--- a/tools/testing/dart/android.dart |
+++ b/tools/testing/dart/android.dart |
@@ -55,6 +55,7 @@ Future<AdbCommandResult> _executeCommand( |
return Process.start(executable, args).then((Process process) async { |
if (stdin != null && stdin != '') { |
process.stdin.write(stdin); |
+ await process.stdin.flush(); |
} |
process.stdin.close(); |