[ mailman-Patches-668685 ] sys.exit handling by script/driver
SourceForge.net
noreply at sourceforge.net
Sat Apr 19 14:41:06 EDT 2003
Patches item #668685, was opened at 2003-01-15 14:35
Message generated for change (Settings changed) made by bwarsaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=668685&group_id=103
Category: Web UI
Group: Mailman 2.1
>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
sys.exit 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. And finding the reason for this
is tedious!
The attached patch file (driver-2.1-0.1.patch) can applied
with the following command with pwd being the MM
build directory:
patch -p1 < ../<path-to-patch-file>
----------------------------------------------------------------------
Comment By: Richard Barrett (ppsys)
Date: 2003-02-10 06:18
Message:
Logged In: YES
user_id=75166
driver-2.1-0.1.patch is alos applicable to MM release 2.1.1
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=668685&group_id=103
More information about the Mailman-coders
mailing list