[ mailman-Bugs-716754 ] sys.exit handling by script/driver
SourceForge.net
noreply at sourceforge.net
Sat Apr 19 14:41:46 EDT 2003
Bugs item #716754, was opened at 2003-04-07 10:26
Message generated for change (Settings changed) made by bwarsaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=716754&group_id=103
Category: Web/CGI
Group: 2.1 (stable)
>Status: Closed
>Resolution: Accepted
Priority: 5
Submitted By: Richard Barrett (ppsys)
Assigned to: Nobody/Anonymous (nobody)
Summary: sys.exit handling by script/driver
Initial Comment:
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
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=716754&group_id=103
More information about the Mailman-coders
mailing list