Skip to content
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

allow to specify shell to use #7

Open
nhoening opened this issue Nov 12, 2013 · 0 comments
Open

allow to specify shell to use #7

nhoening opened this issue Nov 12, 2013 · 0 comments

Comments

@nhoening
Copy link
Owner

Pythons subprocess module uses /bin/sh as default.

I tried for some time already, but it is not easy to make it use a bash session. Here is an idea: http://www.saltycrane.com/blog/2011/04/how-use-bash-shell-python-subprocess-instead-binsh/

What I wanted was to have bash use its config settings from .bashrc, therefore we need to pass the -i option to /bin/bash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant