On Mon, Oct 11, 2010 at 4:19 PM, INADA Naoki <[email protected]> wrote:
> def worker():
> p = Popen(["cat"], stdin=PIPE, stdout=PIPE, stderr=STDOUT)
> out = p.communicate("hoge")[0]
> print "%s %s" % (current_thread().name, out)
If, instead of spawning workers you directly call worker(), does it succeed?
I suspect the threading is a red herring here.
--
Jed Smith
[email protected]
--
http://mail.python.org/mailman/listinfo/python-list
