pexpect: TIMEOUT no longer clears child.before

A

Adrian Casey

The behaviour of pexpect has changed between version 2.1 and 2.3. In
version 2.1, the following code would result in child.before being
cleared -:


In version 2.3, this is no longer the case. No matter how many times
the above code is run, child.before continues to hold the output from
previous commands. It is important to be able to clear the contents of
child.before between each command. What is the correct way to do this
in version 2.3?

Adrian.
 
G

Gabriel Genellina

The behaviour of pexpect has changed between version 2.1 and 2.3. In
version 2.1, the following code would result in child.before being
cleared -:

In version 2.3, this is no longer the case. No matter how many times
the above code is run, child.before continues to hold the output from
previous commands. It is important to be able to clear the contents of
child.before between each command. What is the correct way to do this
in version 2.3?

Try contacting the author: www.noah.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top