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

Fix the script's module dictionary being printed to stderr #241

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

Conversation

TomiBelan
Copy link

Fixes #240.

For manual testing: see the example in #240.

$ shiv . -c helloworld -o out.pyz
[...]
$ ./out.pyz
Hello, world!
$ echo $?
0

Success! No stderr output and good return code!

I didn't add automated tests because this area of the shiv codebase has no coverage.

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.

Shiv with console script prints the __main__ module dictionary to stderr
1 participant