in reply to Threads inside perl script is going out of control
Yeah, thats got little to do with threads, see perlipc, Expect, IPC::Run3, mobile com, Capture::Tiny
What does mobileCom.py do? Why don't you just do this all in python?