BananaDesk/django-phantom-pdf — pull request #2 by meshantz (2014-04-23 17:46:41+00:00)
Title: Force execution of subprocess, and close fds

This addresses issue #1. I'm not sure if it is ideal, as it may cause issues on windows, but it works fine for my use-cases. See the comments about close_fds and windows on the subprocess documentation: https://docs.python.org/2/library/subprocess.html#popen-constructor