winpexpect icon indicating copy to clipboard operation
winpexpect copied to clipboard

Results 6 winpexpect issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to run the the code: ``` import sys if 'linux' in sys.platform: my_os = 'linux' import pexpect elif 'win' in sys.platform: my_os = 'win' import winpexpect if...

Exception in thread Thread-1: Traceback (most recent call last): File "E:\python\lib\threading.py", line 926, in _bootstrap_inner self.run() File "E:\python\lib\threading.py", line 870, in run self._target(*self._args, **self._kwargs) File "E:\python\lib\site-packages\winpexpect.py", line 511, in _child_reader...

`import sys, winpexpect` `child = winpexpect.winspawn('nslookup')` `child.logfile = sys.stdout` `child.expect('\n>')` `child.sendline('www.google.com')` `child.expect('\n>')` `child.interact()` Traceback (most recent call last): File "C:\Users\mohamad\Desktop\test.py", line 5, in child.interact() File "C:\Users\mohamad\AppData\Local\Programs\Python\Python36-32\lib\site-packages\winpexpect-1.5-py3.6.egg\pexpect.py", line 1489, in interact...

> from winpexpect import winspawn, TIMEOUT, ExceptionPexpect Traceback (most recent call last): File "", line 1, in File "C:\Users\es04080213\AppData\Local\Continuum\Anaconda2\lib\site-packages\winpexpect.py", line 18, in from pexpect import spawn, ExceptionPexpect, EOF, TIMEOUT ImportError:...

self.conn = winpexpect.winspawn('ssh [email protected]') self.conn.logfile = sys.stdout self.prompt = '#' try: while True: result = self.conn.expect( [self.prompt, winpexpect.EOF, winpexpect.TIMEOUT, 'assw', 'Update cached key'], timeout=5) if result == 0: self.LOG.debug("Shell start...

This simply adds a disclaimer about the project being abandoned.