-
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 hangs when run in virtual environment #51
Comments
I am using virtualenv, not venv. The |
Hi, As @ddeel has found in this comment:
This means that the now the same thing can happen both in venv and virtualenv. The 850eece shows a way to solve this issue in all virtualenv. This implementation does not uses the child process' pid to identify the pip. |
Was a solution or workaround for this ever implemented? I just tried building from source in case it was only in the dev build, but I'm still unable to use wexpect within a virtual environment. |
Describe the bug
When run in cmd window, the spawn command works fine, but if in a virtual environment, it hangs forever.
To Reproduce
This works
but this does not return from spawn.
Expected behavior
I would expect identical behaviour in a Python Virtual Environment if software versions are the same, which they are.
Environment:
Microsoft Windows 10 Pro 10.0.19043 Build 19043
Dell Latitude 7490
Python 3.9.5
wexpect 4.0.0
Additional context
Submitted this as a question to Stack Overflow.
The text was updated successfully, but these errors were encountered: