0
点赞
收藏
分享

微信扫一扫

CTRL+C异常捕获


CTRL+C异常捕获

trap ‘onCtrlC’ INT
function onCtrlC () {
echo ‘Ctrl+C is captured’
echo ‘Program exit exceptionally ,You can rerun the script!’
exit 1
}


举报

相关推荐

0 条评论