Skip to content

Commit ebfc60b

Browse files
Working on iOS GitHub CI
1 parent b493e18 commit ebfc60b

File tree

1 file changed

+3
-1
lines changed
  • packages/flutter_test_runners/lib/src/platform_comms/ios

1 file changed

+3
-1
lines changed

packages/flutter_test_runners/lib/src/platform_comms/ios/xcrun.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,11 @@ class Xcrun {
132132
"sh",
133133
["-c", "xcrun simctl terminate booted $appBundleId"],
134134
runInShell: true,
135-
includeParentEnvironment: false,
136135
);
137136
print("terminate command process was started");
138137

138+
process.stdin.close();
139+
139140
process.stdout.transform(utf8.decoder).listen((log) {
140141
print("terminate command log: $log");
141142
});
@@ -144,6 +145,7 @@ class Xcrun {
144145
print("terminate command error: $error");
145146
});
146147

148+
print("Waiting for exit code...");
147149
final exitCode = await process.exitCode;
148150
print("Killed app - exit code: $exitCode");
149151
}

0 commit comments

Comments
 (0)