def run_command(command):
log("Running command: " + ' '.join(command))
rc = os.spawnl(os.P_WAIT, root_prefix() + command[0], *command)
if rc != 0:
log("Command failed %d: " % rc + ' '.join(command))
return False
return True
#
# Configuration File Handling.
#
InterfaceReconfigure.py 文件源码
python
阅读 30
收藏 0
点赞 0
评论 0
评论列表
文章目录