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

Add console script and -m starter for command-line usage #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ArneBachmannDLR
Copy link

Hope this is helpful, it was the one piece missing for me.

@uranusjr
Copy link
Member

I don’t have a problem, but for curiosity, what is the use case? If you’re using the shell, you should know what that shell is. If this is for a script, the script should declare that too…?

@ArneBachmannDLR
Copy link
Author

Ah yes, but... I may have another script running that calls a shell command to find its shell (e.g. via subprocess.run(shell=True)); and that command has been missing in my toolbox so far, but could be shellingham (or a Python environment with the library installed, via -m). I can pick up the stdout and do my thing. This kind of stuff happens all the time in my work!

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

Successfully merging this pull request may close these issues.

2 participants