Remove launch status
It's too fast and leaves weird output on the screen
This commit is contained in:
committed by
Danny Tuppeny
parent
cec37ab46a
commit
b096c57bbd
@@ -43,10 +43,8 @@ class AndroidEmulator extends Emulator {
|
||||
|
||||
@override
|
||||
Future<bool> launch() async {
|
||||
final Status status = logger.startProgress('Launching $id...');
|
||||
final RunResult launchResult =
|
||||
await runAsync(<String>[getEmulatorPath(), '-avd', id]);
|
||||
status.stop();
|
||||
if (launchResult.exitCode != 0) {
|
||||
printError(
|
||||
'Error: emulator exited with exit code ${launchResult.exitCode}');
|
||||
|
||||
@@ -39,10 +39,8 @@ class IOSEmulator extends Emulator {
|
||||
|
||||
@override
|
||||
Future<bool> launch() async {
|
||||
final Status status = logger.startProgress('Launching $id...');
|
||||
final RunResult launchResult =
|
||||
await runAsync(<String>['open', '-a', getSimulatorPath()]);
|
||||
status.stop();
|
||||
if (launchResult.exitCode != 0) {
|
||||
printError(
|
||||
'Error: iOS simulator failed to launch with exit code ${launchResult.exitCode}');
|
||||
|
||||
Reference in New Issue
Block a user