Fix problem causing tasks to timeout. (#76028)
This is because the command was actually collecting logs continuously from the device. Additionally idevicesyslog does not have a reboot option. Bug: https://github.com/flutter/flutter/issues/76027
This commit is contained in:
parent
ce318b7b53
commit
4597b51cbc
@ -793,7 +793,7 @@ class IosDevice extends Device {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Future<void> reboot() {
|
Future<void> reboot() {
|
||||||
return Process.run('idevicesyslog', <String>['reboot', '-u', deviceId]);
|
return Process.run('idevicediagnostics', <String>['restart', '-u', deviceId]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user