Recommended library to run CLI commands in Python (subprocess alternative) PyInvoke provides a much easier interface to running CLI processes than subprocess.