摘要: # 执行命令,返回是否执行成功retcode = subprocess.call("for tar in %s/*.tar.gz;do tar zxvf $tar -C %s;done" %(first_dir,first_dir))#执行命令,返回执行命令的结果,close_fds防止僵尸进程大量 阅读全文
posted @ 2020-06-19 15:25 凯文队长 阅读(1220) 评论(0) 推荐(0) 编辑