mirror of
https://github.com/dart-lang/sdk
synced 2024-09-04 16:03:44 +00:00
[gardening] Fix standalone/io/regress_50904_test
* Do not use runInShell on Android. * Forward runtime flags to the child process. Fixes https://github.com/dart-lang/sdk/issues/52657 Fixed: 52657 Cq-Include-Trybots: luci.dart.try:vm-aot-android-release-arm64c-try Change-Id: Ie2761172f80cb3fc3f22a89984e417ca8c38d4f1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/308342 Commit-Queue: Tess Strickland <sstrickl@google.com> Reviewed-by: Tess Strickland <sstrickl@google.com>
This commit is contained in:
parent
0d0e301979
commit
eefa234d28
|
@ -19,8 +19,11 @@ Future<void> runTest(int length) async {
|
|||
|
||||
final Process proc = await Process.start(
|
||||
Platform.executable,
|
||||
<String>[Platform.script.toFilePath(), 'receiver'],
|
||||
runInShell: true,
|
||||
<String>[
|
||||
...Platform.executableArguments,
|
||||
Platform.script.toFilePath(),
|
||||
'receiver',
|
||||
],
|
||||
);
|
||||
|
||||
proc.stdin.add(bytes);
|
||||
|
|
Loading…
Reference in a new issue