Running adb reboot command from python
Running the adb reboot command from code always produces an error. In fact, the device reboots and when adb reboot commend run directly from terminal everything is ok, but I don’t know how to handle this correctly in python code (unfortunately all chat GPTt suggestions fail). Probably the connection is lost when rebooting and then error is returned…