> For the complete documentation index, see [llms.txt](https://yeasy.gitbook.io/mininet_book/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/mininet_book/qi-ta-mo-kuai/util.md).

# mininet.util 模块

一些辅助的方法。包括如下重要的方法。

* errFail

  利用 errRun（利用 popen 来在 shell 中执行命令）来执行一个命令，并且如果执行不成功则抛出异常。
