Console scripts do not call sys.exit
Bug #164629 reported by
Ashley Walsh
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When a 'console_script' is installed by easy_install it uses::
sys.exit(
)
A script installed by buildout does not call sys.exit(), so it does not match the
behaviour of easy_install.
To post a comment you must log in.
Hi. This is a problem for sphinx-build because running the doctest builder does not exit non-zero in a Makefile. This probably affects lots of other scripts since easy_install proper will create a script that exits non-zero.
Here is a patch that is working for me to fix the problem. I have not tried to run the zc.buildout test suite after this change though.