[Bug 1414143] [NEW] Use subprocess module instead of things like os.popen()

Sumana Harihareswara 1414143 at bugs.launchpad.net
Fri Jan 23 21:16:02 CET 2015


Public bug reported:

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.

** Affects: mailman
     Importance: Undecided
         Status: New


** Tags: mailman3

-- 
You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.
https://bugs.launchpad.net/bugs/1414143

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mailman/+bug/1414143/+subscriptions


More information about the Mailman-coders mailing list