summaryrefslogtreecommitdiff
path: root/pexpect/async.py
diff options
context:
space:
mode:
authorThomas Kluyver <takowl@gmail.com>2014-10-09 17:15:34 -0700
committerThomas Kluyver <takowl@gmail.com>2014-11-23 16:39:20 -0800
commit42ad200fa0b65e6f12f9962ca99a0743e37c9660 (patch)
tree87f9e1d7f63020306b0b4b1ac40c608d1ddd8945 /pexpect/async.py
parentb65557aad9c6a7d611f977d403b152dff6df749f (diff)
downloadpexpect-git-42ad200fa0b65e6f12f9962ca99a0743e37c9660.tar.gz
Delegate more methods to ptyprocess
Diffstat (limited to 'pexpect/async.py')
-rw-r--r--pexpect/async.py2
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: