{"height":"190","blog_title":"atsuoishimoto's diary","author_url":"https://blog.hatena.ne.jp/atsuoishimoto/","author_name":"atsuoishimoto","title":"Python\u3067\u5b66\u3076\u300c\u8a73\u89e3 UNIX\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d(\u305d\u306e13) \u7b2c13\u7ae0 \u30c7\u30fc\u30e2\u30f3\u30d7\u30ed\u30bb\u30b9","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fatsuoishimoto.hatenablog.com%2Fentry%2F20110331%2F1301502555\" title=\"Python\u3067\u5b66\u3076\u300c\u8a73\u89e3 UNIX\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u300d(\u305d\u306e13) \u7b2c13\u7ae0 \u30c7\u30fc\u30e2\u30f3\u30d7\u30ed\u30bb\u30b9 - atsuoishimoto&#39;s diary\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://atsuoishimoto.hatenablog.com/entry/20110331/1301502555","image_url":null,"provider_name":"Hatena Blog","width":"100%","description":"13.1 \u30c7\u30fc\u30e2\u30f3\u30d7\u30ed\u30bb\u30b9\u306e\u521d\u671f\u5316 import sys, os pid = os.fork() if pid: sys.exit(0) # parent goes bye-bye # child continues os.setsid() # become session leader os.chdir(\"/\") # change working directory os.umask(0) # clear out file mode creation mask sys.exit(0)","blog_url":"https://atsuoishimoto.hatenablog.com/","published":"2011-03-31 01:29:15","provider_url":"https://hatena.blog","version":"1.0","categories":["Python","APUE"],"type":"rich"}