[entropy.tools] open os.devnull and pass a file handle to Popen()