File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
packages/flutter_test_runners/example_deep_links/test_driver Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change
1
+ import 'dart:convert' ;
1
2
import 'dart:io' ;
2
3
3
4
import 'package:flutter_driver/flutter_driver.dart' ;
@@ -18,7 +19,7 @@ void main() {
18
19
print (Process .runSync ('env' , []).stdout);
19
20
20
21
print ("Running the command..." );
21
- await Process .run (
22
+ final process = await Process .start (
22
23
"xcrun" ,
23
24
[
24
25
"simctl" ,
@@ -28,7 +29,11 @@ void main() {
28
29
],
29
30
environment: {'DEVELOPER_DIR' : '/Applications/Xcode.app/Contents/Developer' },
30
31
);
31
- print ("The xcrun call returned without issue" );
32
+ process.stdout.transform (utf8.decoder).listen ((data) {});
33
+ process.stderr.transform (utf8.decoder).listen ((data) {});
34
+ print ("The process started..." );
35
+ final exitCode = await process.exitCode;
36
+ print ("The xcrun call returned with exit code: $exitCode " );
32
37
});
33
38
34
39
// testDeepLinkIosAppLaunch(
You can’t perform that action at this time.
0 commit comments