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' ;
12import 'dart:io' ;
23
34import 'package:flutter_driver/flutter_driver.dart' ;
@@ -18,7 +19,7 @@ void main() {
1819 print (Process .runSync ('env' , []).stdout);
1920
2021 print ("Running the command..." );
21- await Process .run (
22+ final process = await Process .start (
2223 "xcrun" ,
2324 [
2425 "simctl" ,
@@ -28,7 +29,11 @@ void main() {
2829 ],
2930 environment: {'DEVELOPER_DIR' : '/Applications/Xcode.app/Contents/Developer' },
3031 );
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 " );
3237 });
3338
3439 // testDeepLinkIosAppLaunch(
You can’t perform that action at this time.
0 commit comments