<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>doi-t</author_name>
  <author_url>https://blog.hatena.ne.jp/doi-t/</author_url>
  <blog_title>百日半狂乱</blog_title>
  <blog_url>https://doi-t.hatenablog.com/</blog_url>
  <categories>
    <anon>bash</anon>
    <anon>shellscript</anon>
    <anon>kill</anon>
    <anon>signal</anon>
  </categories>
  <description>二十五日半狂乱３日目の記事 もはや、Advent Calendarでもなんでもなくなっているけど、そんな悲しい現実はさておいて． 前回の話がstackoverflowですでに議論され尽くされていて、解答の一つに自分のスクリプト似た構造のシェルスクリプトがあった． #!/bin/bash killtree() { local _pid=$1 local _sig=${2:-TERM} kill -stop ${_pid} # needed to stop quickly forking parent from producing child between child killing and p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdoi-t.hatenablog.com%2Fentry%2F2013%2F12%2F07%2F023638&quot; title=&quot;SIGSTOPで停止したプロセスにSIGTERMを送ってもプロセスが死なない？ - 百日半狂乱&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-12-07 02:36:38</published>
  <title>SIGSTOPで停止したプロセスにSIGTERMを送ってもプロセスが死なない？</title>
  <type>rich</type>
  <url>https://doi-t.hatenablog.com/entry/2013/12/07/023638</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
