-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow delays smaller than 50ms by setting delaybeforesend to None
Pexpect added[1] a default delay of 50ms before send, by default, to work around an issue with passwords being echod. This makes it impossible to have delays smaller than this 50ms, currently. This commit allows setting delaybeforesend to None, which is recommended by Pexpect to remove this additional delay hardcoded in Pexpect's code. [1] - https://github.com/pexpect/pexpect/blob/master/pexpect/pty_spawn.py#L136-L150
- Loading branch information
1 parent
73fad35
commit a1a8332
Showing
2 changed files
with
4 additions
and
1 deletion.
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
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