Add contextmanager for Popen — at Version 5
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Added context manager for
Refactored code to use
Popen in a test case and rather than duplicate code again for closing the file descriptors, I thought I would investigate the following idea.
Popen class has a context manager since Python 3.2. We could subclass
trac.util.compat and copy the