{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmethane.hatenablog.jp%2Fentry%2F20110509%2F1304956974\" title=\" \u30d0\u30c3\u30c1\u304c\u308f\u308a\u306b Python \u3092\u4f7f\u3046\u3068\u304d\u306f\u3001 os.system \u3088\u308a\u3082 subprocess.call \u3092\u4f7f\u304a\u3046 - methane\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","blog_title":"methane\u306e\u30d6\u30ed\u30b0","description":"\u6b21\u306e2\u3064\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u306f\u540c\u3058\u306b\u898b\u3048\u308b\u3002 #!/usr/bin/env python import os for i in xrange(100): cmd = \"tail -f /var/log/syslog | cat \" os.system(cmd) #!/usr/bin/env python import subprocess for i in xrange(100): cmd = \"tail -f /var/log/syslog | cat \" subprocess.call(cmd, shell=True) \u30bf\u30a4\u30d7\u6570\u304c\u5c11\u306a\u3044\u5206\u524d\u8005\u306e\u307b\u3046\u304c\u826f\u3055\u305d\u3046\u306b\u898b\u3048\u308b\u3002 \u3067\u3082\u3001\u3053\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u6b62\u3081\u3088\u2026","width":"100%","published":"2011-05-09 01:02:54","blog_url":"https://methane.hatenablog.jp/","author_name":"methane","height":"190","provider_url":"https://hatena.blog","categories":["python"],"version":"1.0","title":" \u30d0\u30c3\u30c1\u304c\u308f\u308a\u306b Python \u3092\u4f7f\u3046\u3068\u304d\u306f\u3001 os.system \u3088\u308a\u3082 subprocess.call \u3092\u4f7f\u304a\u3046","url":"https://methane.hatenablog.jp/entry/20110509/1304956974","image_url":null,"type":"rich","author_url":"https://blog.hatena.ne.jp/methane/"}