-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- 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
- Loading branch information
Showing
1 changed file
with
10 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters