Add contextmanager for Popen
|Reported by:||Ryan J Ollos||Owned by:||Ryan J Ollos|
Refactored code to use
Added context manager for
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