sys.exit handling by script/driver

Bug #265895 reported by Ppsys
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

The code in the $prefix/scripts/driver script concedes
that it is valid for a script it is supervising to exit using
the sys.exit function rather than just returning from the
main function.

However, if the script being supervised does use
sys.exit, the driver script fails to pass on the output
generated by the supervised script.

In the case of cgi scripts this means that an internal
server error is reported by the http server because no
output has been returned.

A patch file to fix this problem is available as #668685

[http://sourceforge.net/tracker/index.php?func=detail&aid=716754&group_id=103&atid=100103]

Tags: web-cgi
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.