mirror of
https://github.com/ARM-software/devlib.git
synced 2025-09-23 12:21:54 +01:00
The custom check_output function consisted of two main parts: fetching the subprocess required for the command, and checking its output. It is convenient to provide functions that implement these parts distinctly, so that the output of any subprocess can be checked easily and the creation of a typical Popen object wrapped inside get_subprocess.