{"blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","url":"https://y0m0r.hateblo.jp/entry/20130614/1371222137","author_name":"yuheiomori0718","title":"TypeError: execv() arg 2 must contain only strings","blog_url":"https://y0m0r.hateblo.jp/","version":"1.0","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","provider_name":"Hatena Blog","description":"django\u5185\u304b\u3089shell\u3092\u8d77\u52d5\u3057\u3066\u308b\u3068\u3053\u308d\u3067\u3053\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u3067\u307e\u3057\u305f\u3002 TypeError: execv() arg 2 must contain only strings \u3053\u306e\u3088\u3046\u306a\u9069\u5f53\u306a\u30b5\u30f3\u30d7\u30eb\u3092\u5b9f\u884c\u3059\u308b\u3068\u540c\u3058\u30a8\u30e9\u30fc\u306f\u518d\u73fe\u3059\u308b\u3002sample1.py # coding=utf-8 import subprocess args = [\"python\", \"sample2.py\", 1] print subprocess.check_output(args) sample2.py import sys def main(args): print args if __name__ == '_\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20130614%2F1371222137\" title=\"TypeError: execv() arg 2 must contain only strings - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["python","memo"],"provider_url":"https://hatena.blog","type":"rich","published":"2013-06-14 00:02:17","width":"100%","height":"190","image_url":null}