Hello! Sorry for my English, I can make some mistakes.
I read about long running processes on your site, but I can't include the whole code in one function, because it's a telegram bot. It needs to work without finishing as long as possible. So, I used your script with sockets, but I don't know how to run child processes (using Popen or system) from the script so that after finishing it my child processes are still running. Thank you
P.S. I used os.system(python3.5 /.../myscript1.py&)
, Popen(.., shell = True)
, but after finishing the script, myscript1 also finishes.