2013-10-12から1日間の記事一覧

Pythonの子プロセスIO

すっごい見よう見まねですが。subprocessモジュール使って子プロセスのIOしてます ipc_test_parent.py #coding:utf-8 from subprocess import * p = Popen("python ipc_test_child.py", shell=True, stdin=PIPE, stdout=PIPE, stderr=STDOUT, close_fds=True…