-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
spawn problems on Windows 10 #39
Comments
I develop/test it on Win10, with Python 3.7. I will try to test with 3.8, but I don't believe that this can cause this error. The |
Thanks for the reply. I have attached logfile from following shell commands:
Import wexpect
child = wexpect.spawn(‘cmd.exe’)
child.expect(‘>’)
These immediate produce EOF exception.
[wexpect.log.log](https://github.com/raczben/wexpect/files/4714857/wexpect.log.log)
I saw this in the log: pywintypes.error: (6, 'CreateFile', 'The handle is invalid.')
|
More info. Problem was seen on 2 Win10 machines, BUT only when executing in IDLE. Problem did not occur when running python from cmd prompt. |
On Windows 10, after calling spawn, nothing is received from spawned process except
EOF
.Problem occurs from either a script or from shell commands.
To Reproduce enter in shell
Environment:
The text was updated successfully, but these errors were encountered: