On Monday, 9 November 2015 18:07:36 UTC+5:30, hariramm...@gmail.com wrote:
> Hi,
>
> I am using multiprocessing with pexpect, issue is whenever i call a function
> which is having expect(), its throwing error which is genuine as multiple
> threads are processing it same time (i/o prompt same ti
I think the problem is that you cannot pass around an open socket via
pickle. Whats the error message you are getting?
Try adding the session establishment code to the stop function, so that
each new process opens a session to the server and executes the command.
def stop(ds):
s = pxssh.p
On Monday, 9 November 2015 18:07:36 UTC+5:30, hariramm...@gmail.com wrote:
> Hi,
>
> I am using multiprocessing with pexpect, issue is whenever i call a function
> which is having expect(), its throwing error which is genuine as multiple
> threads are processing it same time (i/o prompt same ti
On Monday, 9 November 2015 18:07:36 UTC+5:30, hariramm...@gmail.com wrote:
> Hi,
>
> I am using multiprocessing with pexpect, issue is whenever i call a function
> which is having expect(), its throwing error which is genuine as multiple
> threads are processing it same time (i/o prompt same ti