Skip to content

Commit 3ecbd88

Browse files
rmacnak-googleCommit Queue
authored andcommitted
[dart:io] Use /system/bin/sh on Android.
TEST=standalone/io/regress_flutter_57125_test Change-Id: Ief5619ffe26f85bab28ad7ab16db835d11814512 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/438263 Reviewed-by: Brian Quinlan <[email protected]> Commit-Queue: Ryan Macnak <[email protected]>
1 parent ea42772 commit 3ecbd88

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sdk/lib/_internal/vm/bin/process_patch.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,9 @@ base class _ProcessImpl extends _ProcessImplNativeWrapper implements _Process {
327327
if (Platform.isWindows) {
328328
return 'cmd.exe';
329329
}
330+
if (Platform.isAndroid) {
331+
return '/system/bin/sh';
332+
}
330333
return '/bin/sh';
331334
}
332335

0 commit comments

Comments
 (0)