[Mailman-Developers] [ mailman-Patches-668685 ] sys.exit handling by script/driver

SourceForge.net noreply at sourceforge.net
Wed Jan 15 11:35:46 EST 2003


Patches item #668685, was opened at 2003-01-15 19:35
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: Open
Resolution: None
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>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=668685&group_id=103



More information about the Mailman-Developers mailing list