Hi Sol, 

i tried the example with the 0.9.0 py release on my Windows XP box
with Python 2.5.1 - works for me. 

are you also using 0.9.0? 

Could you give me the output of
    
    >>> gw

and

    >>> gw.remote_exec("channel.send(42)").receive()

?

best, 

holger

On Thu, Jan 10, 2008 at 16:53 -0500, Sol Simpson wrote:
> 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
> 
>  
> 

> _______________________________________________
> py-dev mailing list
> py-dev@codespeak.net
> http://codespeak.net/mailman/listinfo/py-dev


-- 
merlinux GmbH       
http://merlinux.de  
_______________________________________________
py-dev mailing list
py-dev@codespeak.net
http://codespeak.net/mailman/listinfo/py-dev

Reply via email to