Replaced the regular call from process = subprocess.Popen(...) to with subprocess.Popen(...) as process as this variant is the recommended approach for resource allocating processes.
By using 'with' the release of the allocated resources is ensured even in the case of an exception. Source: Pylint R1732.
Replaced the regular call from
process = subprocess.Popen(...)
towith subprocess.Popen(...) as process
as this variant is the recommended approach for resource allocating processes.By using 'with' the release of the allocated resources is ensured even in the case of an exception. Source: Pylint R1732.