Share SSH object to child process

Viewed 23

I want to share a global ssh variable from parent process to child process using a multiprocessing package. I have tried to use "Value" method but there is no proper ctype for ssh.

ssh = multiprocessing.Value(gw_manager.openSSH())

any idea ?

0 Answers
Related