summaryrefslogtreecommitdiff
path: root/pexpect
Commit message (Collapse)AuthorAgeFilesLines
...
* Make poll_ignore_interrupts register multiple FDs like select.select call ↵Cooper Ry Lees2018-04-133-10/+13
| | | | and fix broken __interact_copy implementation
* Merge pull request #474 from cooperlees/masterRed_M2018-04-104-17/+74
|\ | | | | Allow callers to enable to use of select.poll()
| * Move poll_ignore_interrupts to accept a fd at a time onlyCooper Ry Lees2018-04-013-27/+27
| |
| * Allow for configurable select.poll() usageCooper Ry Lees2018-03-234-17/+74
| | | | | | | | | | | | | | - This allows systems that can have > 1024 fds to work - Should be marginally faster - Added tests to use select.poll() - Incremented version - Happy to change this, guessed what it should be
* | typoJohannes Becker2018-04-011-1/+1
| |
* | Bug fix for tunnels.Red_M2018-03-301-1/+1
| |
* | Add sys.Red_M2018-03-301-0/+1
| |
* | Allow shlex to handle the quotes if running in python 3.Red_M2018-03-301-12/+15
| |
* | Add testing for remote tunnels and passing the SSH authentication socket to ↵Red_M2018-03-301-5/+5
| | | | | | | | the next connection.
* | Merge branch 'master' of github.com:Red-M/pexpectRed_M2018-03-302-4/+8
|\ \
| * | fix a bug causing 'spawn.before' to be truncated w/ searchwindowsize useRyan Petrello2018-03-272-4/+8
| | | | | | | | | | | | see: https://github.com/pexpect/pexpect/issues/478
| * | Don't break compat of pxssh.pxssh.login() with regards to new features (#477)Red_M2018-03-261-2/+3
| | | | | | | | | | | | | | | This is so ordered arguments being provided to pxssh.pxssh.login() doesn't break old code and allows for new features. Sorry about the commit spam.
* | | Fix bug with dynamic SSH tunnels.Red_M2018-03-301-2/+11
| | | | | | | | | | | | Add basic test for SSH tunneling, this can be expanded on with a proper SSH server to test the tunnels over, however this should be good enough for now.
* | | reminder.Red_M2018-03-261-1/+1
| | |
* | | Merge branch 'master' into super_pxsshRed_M2018-03-261-2/+3
|\ \ \ | |/ / |/| |
| * | upstream from #473Red_M2018-03-231-5/+6
| | |
* | | Only quote tunnels if a remote session is being used.Red_M2018-03-211-2/+5
| | | | | | | | | | | | Fix a bug with chaining SSH sessions and providing an SSH key.
* | | Add ssh tunneling.Red_M2018-03-171-2/+38
|/ /
* | Add code comments for ssh_key and spawn_local_ssh.Red_M2018-03-171-4/+6
| |
* | Add doc strings for spawn_local_ssh and ssh_key.Red_M2018-03-171-0/+8
| |
* | Allow ssh'ing from one machine that is remote to another remote machine form ↵Red_M2018-03-171-6/+13
|/ | | | | | the first one. Allow forwarding of the ssh agent.
* Add feedback from @takluyver as per PR #468.Red_M2018-03-091-22/+13
|
* Just making sure this will run.Red_M2018-02-231-1/+2
|
* Bug fix.Red_M2018-02-231-2/+2
|
* Clean vars.Red_M2018-02-231-7/+7
|
* bug fix.Red_M2018-02-231-4/+5
|
* Patch that allows setting some custom regexes for pxssh and allows pxssh to ↵Red_M2018-02-231-6/+25
| | | | be more gentle with target SSH servers and the shells they spawn.
* FIX: bad representation of bytes patterns.Julien Palard2018-02-121-8/+2
| | | | | | | | | | | | | | | | I was getting: 0: re.compile("b'^[^\r\n]*\r?\n'") 1: re.compile("b'^--More-- or \\(q\\)uit'") 2: re.compile("b'^\\(.*\\) #'") So I decided to drop the %s and keep only the %r, which equally for str and bytes: >>> ' %d: re.compile(%r)' % (1, b'foo') " 1: re.compile(b'foo')" >>> ' %d: re.compile(%r)' % (1, 'foo') " 1: re.compile('foo')"
* Version number -> 4.4.0Thomas Kluyver2018-02-101-1/+1
|
* Merge pull request #466 from takluyver/i465Thomas Kluyver2018-02-101-3/+5
|\ | | | | Ensure spawn.closed gets set, improve sigwinch_passthrough example
| * Fix name in example codeThomas Kluyver2018-02-061-1/+1
| |
| * Ensure spawn.closed gets set, improve sigwinch_passthrough exampleThomas Kluyver2018-02-061-3/+5
| | | | | | | | Closes gh-465
* | optimize pty buffering and searchingRyan Petrello2018-02-054-21/+45
|/ | | | | | | | Python strings are slow and expensive as buffers because they're immutable; replace the output buffer with a StringIO/BytesIO object see: https://github.com/pexpect/pexpect/issues/438
* Merge remote-tracking branch 'upstream/master'Thomas Walther2017-12-2012-38/+67
|\
| * Version number -> 4.3.14.3.1Thomas Kluyver2017-12-121-1/+1
| |
| * Unset PROMPT_COMMAND when launching bash for replwrapThomas Kluyver2017-12-081-0/+3
| |
| * Explanatory comment about bashrc filesThomas Kluyver2017-12-081-0/+1
| |
| * handle more OSeszimbatm2017-11-211-2/+9
| | | | | | | | | | | | ubuntu: /etc/bash.bashrc centos: /etc/bashrc nixos: /etc/bashrc
| * Remove superfluous importsNehal J Wani2017-11-141-2/+0
| |
| * Version number -> 4.34.3Thomas Kluyver2017-11-091-1/+1
| |
| * Issue #451: Check for "password:" as password prompt instead of "password"oevans2017-10-251-4/+4
| |
| * FIX: rename async.py -> _async.py to avoid syntax errors in 3.7Thomas A Caswell2017-10-212-3/+3
| | | | | | | | | | async has moved to a proper keyword resulting in syntax errors on import.
| * Don't split cmd strings on win32Robert Holt2017-09-271-1/+1
| | | | | | | | | | On win32 Popen uses strings for args, so don't convert cmd to a list if running on win32. See: https://docs.python.org/3/library/subprocess.html#converting-argument-sequence
| * Python 3.6 invalid escape sequence deprecation fixesVille Skyttä2017-09-171-3/+3
| | | | | | | | https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
| * Merge pull request #446 from eli-b/patch-1Thomas Kluyver2017-09-161-1/+1
| |\ | | | | | | Fix popen_spawn when specifying a path on Windows which contains "\" …
| | * Use os.name instead of sys.platformEli Boyarski2017-09-161-1/+1
| | |
| | * Fix popen_spawn when specifying a path on Windows which contains "\" separatorsEli Boyarski2017-09-161-1/+1
| | |
| * | Spelling fixesVille Skyttä2017-09-154-6/+6
| |/
| * Merge branch 'master' of github.com:pexpect/pexpectThomas Kluyver2017-08-224-12/+33
| |\
| | * Merge pull request #386 from kristopher-h/masterThomas Kluyver2017-08-221-1/+4
| | |\ | | | | | | | | Raise ExceptionPexpect instead of PtyProcessError in spawn.close