-
Notifications
You must be signed in to change notification settings - Fork 10
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
error when trying to run example #11
Comments
seems like from https://pexpect.readthedocs.io/en/stable/overview.html#windows pexpect.spawn is not available on windows
|
For my use case, I was using
EDIT: My guess that |
|
4488ae4 appears to be the culprit commit that broke this in |
Running |
- inherit from `pexpect.spawn` instead of `pexpect.SpawnBase` - instead of implementing a new `read_nonblocking`, assign `self.child_fd = ser.fileno()` in the constructor and the spawn implementation works without any of the timeout issues - sendline, write and writeline are no longer needed - kill needs a new implementation as we only want to close the connection, there is no pid to kill
The text was updated successfully, but these errors were encountered: