{"url":"https://www.shigemk2.com/entry/subprocess_python_call","provider_url":"https://hatena.blog","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2Fsubprocess_python_call\" title=\"\u30b3\u30de\u30f3\u30c9\u540d\u3060\u3051\u6307\u5b9a\u3057\u3066subprocess.Popen\u3067\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u6319\u52d5\u306b\u3064\u3044\u3066 - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","height":"190","blog_url":"https://www.shigemk2.com/","description":"2.7.5\u3067submodule.POpen import subprocess cmd = \"ruby --version\" subprocess.Popen( cmd, shell=True ) cmd = \"emacs --version\" subprocess.Popen( cmd, shell=True ) \u671f\u5f85\u3055\u308c\u308b\u6319\u52d5 \u7247\u65b9\u306frbenv\u3067\u3001\u3082\u3046\u7247\u65b9\u306f\u91ce\u826f\u30d3\u30eb\u30c9\u3067\u30d3\u30eb\u30c9\u3057\u305f\u3082\u306e\u3067\u3001\u74b0\u5883\u5909\u6570\u306f\u8a2d\u5b9a\u3057\u3066\u3042\u308b\u304b\u3089\u3001\u4e0a\u8a18\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u3060\u3068rbenv\u3084\u3089\u91ce\u826f\u30d3\u30eb\u30c9\u3057\u305f\u3082\u306e\u3084\u3089\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3002 \u5b9f\u969b\u306e\u6319\u52d5 \u3044\u305a\u308c\u3082/usr/bin/\u306e\u4e0b\u306eruby\u3068emacs\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u304c\u8868\u793a\u3055\u308c\u308b \u2026","author_name":"shigemk2","blog_title":"by shigemk2","provider_name":"Hatena Blog","published":"2015-07-13 15:00:00","author_url":"https://blog.hatena.ne.jp/shigemk2/","title":"\u30b3\u30de\u30f3\u30c9\u540d\u3060\u3051\u6307\u5b9a\u3057\u3066subprocess.Popen\u3067\u30b3\u30de\u30f3\u30c9\u5b9f\u884c\u3057\u305f\u3068\u304d\u306e\u6319\u52d5\u306b\u3064\u3044\u3066","width":"100%","categories":["Python"],"version":"1.0"}