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
Add exec
subcommand to use PIPE and REDIRECTION ?
#315
Comments
I've run into this issue too, whilst trying to test against the Python version inside a shell script. Looking through the Pexpect FAQs, it seems the issue can be addressed whilst still calling
I hope this helps 👍 |
After further investigate, I found that this is caused by using
Workaround with pexpect (only
|
Hey everyone, sorry this hasn't been addressed yet. We're trying to work through tickets as time permits. I don't see a particular reason that Using @kennethreitz, do you have any particular reasoning that we need to be spawning off subprocesses for |
Nope! |
Just seemed like the best solution to me. |
@nonylene can you send a pull request? |
@kennethreitz OK, I will fix this ! |
PIPE and REDIRECTION are not working with
pipenv run
, because this usespexpect.spawn
pexpect.spawn.wait
with non-interactive environment.If use
os.exec
instead ofspawn
, pipe and redirection are available.Can you add
exec
subcommand like bundler, or changerun
command to useos.exec
?version
3.5.6, or current master (7b17058)
The text was updated successfully, but these errors were encountered: