討論串sh 'sleep' and trap?
共 3 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
--On 16 July 2014 10:55 +0100 krad <kraduk@gmail.com> wrote:. > send a kill to the script and then to the sleep process itself?. Would work, but would
(還有228個字)
內容預覽:
send a kill to the script and then to the sleep process itself?. On 16 July 2014 10:31, Karl Pielorz <kpielorz_lst@tdx.co.uk> wrote:. >. > Hi All,. >.
(還有1033個字)
內容預覽:
Hi All,. I have a script, similar to this:. ". #!/bin/sh. echo $$ >/var/run/mypid.pid. trap "rm /var/run/mypid.pid; exit 0" EXIT. while [ 1 ]. do. do_
(還有590個字)
首頁
上一頁
1
下一頁
尾頁