{"description":"\u3088\u304f\u4f7f\u3046\u306e\u3067\u30b9\u30cb\u30da\u30c3\u30c8\u7684\u306b\u30e1\u30e2\u3002 def _system(cmd) $stderr.puts \"command=#{cmd}\" system cmd status = $? # Process::Status unless status.success? raise \"abnormal exit status (status=#{status.exitstatus} pid=#{status.pid})\" end end \uff082025-04-13 \u8ffd\u8a18\uff09\u6210\u5426\u3092\u5224\u5b9a\u3059\u308b\u3060\u3051\u306a\u3089 Kernel#system \u306e\u8fd4\u308a\u5024\u3082\u4f7f\u3048\u307e\u3059\u3002\u7d20\u6734\u306a\u30b1\u30fc\u30b9\u306a\u3089\u3053\u308c\u304c\u4e00\u756a\u30b7\u30f3\u30d7\u30eb\u3060\u3068\u601d\u3044\u307e\u3059\u3002 Kernel.#sys\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F20150818%2F1439849007\" title=\"Ruby: system\u3067\u7d42\u4e86\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u4f8b\u5916\u3092\u6295\u3052\u308b - memo486\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","categories":["Ruby"],"provider_url":"https://hatena.blog","width":"100%","image_url":null,"height":"190","author_url":"https://blog.hatena.ne.jp/sonota88/","type":"rich","title":"Ruby: system\u3067\u7d42\u4e86\u30b9\u30c6\u30fc\u30bf\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u4f8b\u5916\u3092\u6295\u3052\u308b","blog_url":"https://memo88.hatenablog.com/","provider_name":"Hatena Blog","blog_title":"memo486","author_name":"sonota88","url":"https://memo88.hatenablog.com/entry/20150818/1439849007","published":"2015-08-18 07:03:27"}