Use subprocess module instead of things like os.popen()

Bug #1414143 reported by Sumana Harihareswara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Undecided
Unassigned

Bug Description

In src/mailman/handlers/mime_delete.py we have:

     cmd = os.popen(config.HTML_TO_PLAIN_TEXT_COMMAND ....

We should use the subprocess module instead http://www.python.org/doc/current/lib/module-subprocess.html in cases like this.

From http://wiki.mailman.psf.io/DEV/Mailman%203.0?action=diff&rev2=30&rev1=28 -- a TODO for the Mailman 3.x series.

Tags: mailman3
Revision history for this message
Abhilash Raj (raj-abhilash1) wrote :

This bug has been moved to the new gitlab repo here: https://gitlab.com/mailman/mailman/issues/81

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.