[py-dev] issues running py.execnet
Sol Simpson
sol at sr-research.com
Thu Jan 10 22:53:43 CET 2008
I'm trying to test out py.execnet running one of the examples:
import py
gw = py.execnet.PopenGateway()
channel = gw.remote_exec("""
import os
channel.send(os.getpid())
""")
remote_pid = channel.receive()
print remote_pid != py.std.os.getpid()
The issue is that the program hangs on the channel.receive() call. In task
manager I can see that a second python.exe has been launched, but that is
it. The only way to exit the app is to kill one of the python.exe in the
task manager.
Any insight would be very helpful.
I'm running python 2.5.1 on Windows XP SP2.
Thank you,
Sol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pytest-dev/attachments/20080110/65d6e553/attachment.html>
More information about the Pytest-dev
mailing list