diff options
author | Thomas Kluyver <takowl@gmail.com> | 2014-10-09 17:15:34 -0700 |
---|---|---|
committer | Thomas Kluyver <takowl@gmail.com> | 2014-11-23 16:39:20 -0800 |
commit | 42ad200fa0b65e6f12f9962ca99a0743e37c9660 (patch) | |
tree | 87f9e1d7f63020306b0b4b1ac40c608d1ddd8945 /pexpect/async.py | |
parent | b65557aad9c6a7d611f977d403b152dff6df749f (diff) | |
download | pexpect-git-42ad200fa0b65e6f12f9962ca99a0743e37c9660.tar.gz |
Delegate more methods to ptyprocess
Diffstat (limited to 'pexpect/async.py')
-rw-r--r-- | pexpect/async.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pexpect/async.py b/pexpect/async.py index 8ec9c3c..50eae3b 100644 --- a/pexpect/async.py +++ b/pexpect/async.py @@ -53,6 +53,8 @@ class PatternWaiter(asyncio.Protocol): self.error(e) def eof_received(self): + # N.B. If this gets called, async will close the pipe (the spawn object) + # for us try: index = self.expecter.eof() except EOF as e: |