摘要: #!/bin/bashpython gen_service_list.py >/dev/null 2>&1 if [ $? -ne 0 ]; then echo "failed"else echo "succeed"fi 执行结果不输出到页面,执行结果成功返回succeed,失败返回failed # 阅读全文
posted @ 2020-04-14 15:49 柒柒然 阅读(254) 评论(0) 推荐(0) 编辑