> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/openstack_code_neutron/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://yeasy.gitbook.io/openstack_code_neutron/neutron/openstack/common/processutilspy.md).

# processutils.py

封装了一些进程操作，提供高层方法，包括：

* \_subprocess\_setup()方法
* execute()方法，在shell中通过subprocess来执行一条命令。
* trycmd()方法，对execute()方法的封装，处理警告和错误信息。
* ssh\_execute
