9223079 49a0323 9223079
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import os import logging import sys from .. import logger def do_system(cmd, verbose=False): if verbose: logger.info(f"Run cmd: `{cmd}`.") err = os.system(cmd) if err: logger.info(f"Run cmd err.") sys.exit(err)