Skip to content

Commit 4349d00

Browse files
Working on iOS GitHub CI
1 parent 78a2c08 commit 4349d00

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

packages/flutter_test_runners/example_deep_links/test_driver/deep_link_ios_test.dart

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ void main() {
1919
// print(Process.runSync('env', []).stdout);
2020

2121
print("Running the command...");
22-
final process = await Process.start(
22+
final result = await Process.run(
2323
"sh",
2424
[
2525
"-c",
@@ -32,18 +32,19 @@ void main() {
3232
"com.flutterbountyhunters.deeplinks.example",
3333
],
3434
);
35-
process.stdout.transform(utf8.decoder).listen((data) {
36-
print("STDOUT:\n$data");
37-
});
38-
process.stderr.transform(utf8.decoder).listen((data) {
39-
print("STDERR:\n$data");
40-
});
41-
print("The process started...");
42-
print("Closing stdin");
43-
process.stdin.close();
44-
print("Waiting for exit code...");
45-
final exitCode = await process.exitCode;
46-
print("The xcrun call returned with exit code: $exitCode");
35+
// process.stdout.transform(utf8.decoder).listen((data) {
36+
// print("STDOUT:\n$data");
37+
// });
38+
// process.stderr.transform(utf8.decoder).listen((data) {
39+
// print("STDERR:\n$data");
40+
// });
41+
// print("The process started...");
42+
// print("Closing stdin");
43+
// process.stdin.close();
44+
// print("Waiting for exit code...");
45+
// final exitCode = await process.exitCode;
46+
// print("The xcrun call returned with exit code: $exitCode");
47+
print("The xcrun call returned with exit code: ${result.exitCode}");
4748
});
4849

4950
// testDeepLinkIosAppLaunch(

0 commit comments

Comments
 (0)