Re: multiprocess (and paramiko)

2014-06-03 Thread mennis
I'm familiar with and have learned much from fabric. Its execution model don't work for this specific interface I'm working on. I use fabric for other things though and it's great. Ian -- https://mail.python.org/mailman/listinfo/python-list

Re: multiprocess (and paramiko)

2014-06-03 Thread Roy Smith
In article <3c0be3a7-9d2d-4530-958b-13be97db3...@googlegroups.com>, mennis wrote: > Here I have a simple multiprocessing class that when initializes takes a > connected SSHClient instance and a command to run on the associated host in a > new channel. ChrisA has already answered your question

Re: multiprocess (and paramiko)

2014-06-03 Thread Chris Angelico
On Wed, Jun 4, 2014 at 1:43 AM, mennis wrote: > I was able to work around this by using a completely different design but I > still don''t understand why this doesn't work. It appears that the process > that launches the process doesn't get access to updated object attributes. > When I set an

multiprocess (and paramiko)

2014-06-03 Thread mennis
I was able to work around this by using a completely different design but I still don''t understand why this doesn't work. It appears that the process that launches the process doesn't get access to updated object attributes. When I set and check them in the object itself it behaves as expecte