| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Merge remote-tracking branch 'origin/freebsd-support' into bugfix-virtualenv | Jeff Quast | 2015-04-24 | 1 | -1/+1 |
| |\ | |||||
| | * | FreeBSD: Document magic max canon value of 1920 | Jeff Quast | 2015-02-22 | 1 | -1/+1 |
| | | | |||||
| * | | Merge pull request #178 from pexpect/support-method-as-run-event-callback | Jeff Quast | 2015-04-24 | 1 | -5/+8 |
| |\ \ | | | | | | | Support MethodType as callback for pexpect.run(event=...) | ||||
| | * | | Document that a method may also be used. | Jeff Quast | 2015-02-14 | 1 | -2/+2 |
| | | | | |||||
| | * | | Display well-formed TypeError for events callback | Jeff Quast | 2015-02-14 | 1 | -1/+3 |
| | | | | |||||
| | * | | PEP8: do not use backslash continuation char '\' | Jeff Quast | 2015-02-14 | 1 | -2/+2 |
| | | | | | | | | | | | | | "Continuation lines should align ... using Python's implicit line joining inside parentheses" | ||||
| | * | | Begin __version__ "4.0.dev" | Jeff Quast | 2015-02-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | as suggested by @takluyver in https://github.com/pexpect/pexpect/issues/174 | ||||
| | * | | Updated Error message to mention MethodType | Samuel Bancal | 2015-02-12 | 1 | -1/+1 |
| | | | | |||||
| | * | | Allows also method callback for events argument in pexpect.run() | Samuel Bancal | 2015-02-12 | 1 | -1/+2 |
| | |/ | | | | | | | Updated test_run.py for this case | ||||
| * | | Fix async expect when data was already read | Thomas Kluyver | 2015-03-31 | 1 | -3/+4 |
| |/ | | | | Closes gh-195 | ||||
| * | Merge pull request #106 from pexpect/issue-104-cannot-exec-setuids | Thomas Kluyver | 2014-12-20 | 2 | -32/+18 |
| |\ | | | | | Issue 104 cannot exec setuids | ||||
| | * | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuids | Jeff Quast | 2014-12-19 | 1 | -5/+15 |
| | |\ | |||||
| | * \ | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuids | Jeff Quast | 2014-12-18 | 10 | -1904/+1656 |
| | |\ \ | | | | | | | | | | | | | | | | | Conflicts: pexpect/__init__.py | ||||
| | * \ \ | Merge remote-tracking branch 'origin/master' into issue-104-cannot-exec-setuids | Jeff Quast | 2014-11-23 | 8 | -132/+367 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/history.rst | ||||
| | * | | | | Closes issue #104 -- cannot execute sudo(8) | jquast | 2014-08-24 | 1 | -32/+16 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, misinterpreted that os.access(file, X_OK) always returns True on Solaris. Yes, but only for the uid of 0. Python issue #13706 closed "not a bug" reads to "just use os.stat()", so we went to great lengths to do so quite exhaustively. But this is wrong -- *only* when root, should we check the file modes -- os.access of X_OK works perfectly fine for non-root users. And, we should only check if any of the executable bits are set. Alas, it is true, you may execute that which you may not read -- because as root, you can always read it anyway. Verified similar solution in NetBSD test.c (/bin/test), OpenBSD ksh for its built-in test, and what FreeBSD/Darwin for their implementation of which.c. | ||||
| * | | | | | Merge pull request #164 from takluyver/contextmanager | Jeff Quast | 2014-12-19 | 1 | -0/+9 |
| |\ \ \ \ \ | |_|_|_|/ |/| | | | | Allow spawn() and friends to be used as context managers | ||||
| | * | | | | Allow spawn() and friends to be used as context managers | Thomas Kluyver | 2014-12-19 | 1 | -0/+9 |
| | | |_|/ | |/| | | | | | | | | | | Closes gh-111 | ||||
| * | | | | Allow the user to specify a preexec_fn, which will be passed to ptyprocess | Thomas Kluyver | 2014-12-11 | 1 | -5/+15 |
| | | | | | |||||
| * | | | | ptyprocess API changed to a single preexec_fn function | Thomas Kluyver | 2014-12-11 | 1 | -1/+1 |
| |/ / / | |||||
| * | | | Merge pull request #79 from pexpect/doc-and-test-max-canon | Thomas Kluyver | 2014-11-25 | 1 | -3/+36 |
| |\ \ \ | | | | | | | | | Test and document PC_MAX_CANON. | ||||
| | * | | | all together -> altogether (thanks TK) | Jeff Quast | 2014-11-25 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | docstring grammer fixes in send*() functiondoc-and-test-max-canon | Jeff Quast | 2014-11-24 | 1 | -3/+3 |
| | | | | | |||||
| | * | | | Tell about MAX_CANON in send*() functions | Jeff Quast | 2014-11-24 | 1 | -3/+36 |
| | | | | | |||||
| * | | | | Change run* timeout=-1 -> timeout=30 | Jeff Quast | 2014-11-24 | 1 | -2/+2 |
| |/ / / | | | | | | | | | | | | | | | | Leave the "if timeout == -1" in spawn intact, for any poor fool who explicitly set timeout of -1 to implicitly mean timeout of 30. | ||||
| * | | | allow user to specify SSH options via the constructor parametere options | Radomirs Cirskis | 2014-11-25 | 1 | -2/+11 |
| | | | | |||||
| * | | | allow user to specify SSH options via pxssh.options dictionary | Rad Cirskis | 2014-11-25 | 1 | -2/+6 |
| | | | | |||||
| * | | | Merge pull request #123 from pexpect/use-ptyprocess | Thomas Kluyver | 2014-11-23 | 8 | -1913/+1617 |
| |\ \ \ | | | | | | | | | Start adapting pexpect to use ptyprocess | ||||
| | * | | | Fix failure in str(spawnobj) before any output | Jeff Quast | 2014-11-23 | 1 | -2/+4 |
| | | | | | |||||
| | * | | | Not all spawn classes have a kill method | Thomas Kluyver | 2014-11-23 | 1 | -4/+0 |
| | | | | | |||||
| | * | | | Record control characters in log files | Thomas Kluyver | 2014-11-23 | 1 | -3/+15 |
| | | | | | |||||
| | * | | | Delegate sending control characters to ptyprocess | Thomas Kluyver | 2014-11-23 | 2 | -60/+12 |
| | | | | | |||||
| | * | | | Refactor, creating SpawnBaseUnicode class | Thomas Kluyver | 2014-11-23 | 2 | -59/+40 |
| | | | | | |||||
| | * | | | Refactor, creating SpawnBase class | Thomas Kluyver | 2014-11-23 | 3 | -456/+458 |
| | | | | | |||||
| | * | | | Move code out of __init__ | Thomas Kluyver | 2014-11-23 | 5 | -1650/+1641 |
| | | | | | |||||
| | * | | | Remove some long-dead code | Thomas Kluyver | 2014-11-23 | 1 | -9/+0 |
| | | | | | |||||
| | * | | | Delegate more methods to ptyprocess | Thomas Kluyver | 2014-11-23 | 3 | -120/+55 |
| | | | | | |||||
| | * | | | Start adapting pexpect to use ptyprocess | Thomas Kluyver | 2014-11-23 | 1 | -176/+18 |
| | | |/ | |/| | |||||
| * | | | Bugfix for solaris in replwrap.bash()setecho-in-bash-replwrap-sunos | Jeff Quast | 2014-11-23 | 1 | -1/+1 |
| |/ / | | | | | | | | | | | | | | | Forgot to set ``echo=False`` when calling spawnu() directly in replwrap.bash(), resulting in IOError on SunOs: IOError: [Errno 22] Invalid argument: setecho() may not be called on this platform. | ||||
| * | | Merge pull request #142 from pexpect/failed-str-self | Jeff Quast | 2014-11-22 | 1 | -2/+4 |
| |\ \ | | | | | | | Failure in __str__() before any output. | ||||
| | * | | Use ternary if/else in spawn.__str__failed-str-self | Jeff Quast | 2014-11-22 | 1 | -2/+2 |
| | | | | |||||
| | * | | Failure in __str__() before any output. | Jeff Quast | 2014-11-22 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling str() on a spawn class object before it has any command output, the __str__() override attempts to truncate long command output while the value of self.before is still None, raising: TypeError: 'NoneType' object has no attribute '__getitem__' | ||||
| * | | | Merge pull request #115 from takluyver/replwrap-bash-robustness | Jeff Quast | 2014-11-22 | 2 | -2/+10 |
| |\ \ \ | | | | | | | | | Make replwrap.bash() robust against custom prompts in bashrc | ||||
| | * | | | Make replwrap.bash() robust against custom prompts in bashrc | Thomas Kluyver | 2014-09-21 | 2 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | By providing our own bashrc which overrides PS1, we can have a consistent prompt without breaking other customisations of bash that people may want to keep, such as aliases defined in bashrc. | ||||
| * | | | | Rectify docstring typo in compile_pattern_list() | Rick Lin | 2014-11-20 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Added ignore_sighup param for pxssh | zjx20 | 2014-10-21 | 1 | -2/+2 |
| | |/ / |/| | | |||||
| * | | | Modify run() to allow a tuple list of events. | Hideaki Suzuki | 2014-10-11 | 1 | -10/+24 |
| |/ / | | | | | | | This is a feature enhancement mentioned by #116. | ||||
| * | | Document asyncio integration | Thomas Kluyver | 2014-09-21 | 1 | -3/+21 |
| | | | |||||
| * | | Expose async parameter for expect_exact | Thomas Kluyver | 2014-09-21 | 2 | -9/+14 |
| | | | |||||
| * | | Check already read data before async reading more | Thomas Kluyver | 2014-09-21 | 1 | -2/+14 |
| | | | |||||
| * | | support timeout in async expect | Thomas Kluyver | 2014-09-21 | 2 | -4/+10 |
| | | | |||||
