首页 极刻 圈子 教程 开源
极客社区
写文章 发极刻 建圈子 发项目
标签 commandpid 相关标签 command kill linux shell timeout

Linux限制Shell执行时间

timeout(){ waitfor=$1 shift command=$* $command & commandpid=$!kill -9 $commandpid >/dev/null 2>&1) & watchdogpid=$!

niuyisheng 2010-12-18 11:45:00

推荐极客

Blaze Blaze fundebug fundebug 88916570 88916570 80407013 80407013 84214254 84214254 86593278 86593278 81701295 81701295 ELEMENTS爱乐冬雨 ELEMENTS爱乐冬雨

优质内容社区

首页 文章 极刻 开源 标签 关于我们

© 安科网. All rights reserved.