Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection read() gives blank output incase device disconnects and reconnects again #100

Open
saibhaskar24 opened this issue Dec 15, 2022 · 0 comments

Comments

@saibhaskar24
Copy link

When adding handler to shell() call for adb logcat and device get disconnected then it starts printing empty string.
When we reconnect the device still the output is blank.

I am trying to run shell() in thread.

I went through the code and saw it's done using socket file and i feel socket closes with some error and it's unable to reconnect itself once device is up.

ppadb/connection.py

do we have any solution for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant