a=subprocess.Popen(['python3 part.py'], shell=True)
a.communicate(m.text)
if run_second_bot==True:
a.communicate(m.text)
else:
a.communicate(b.text)
I use to sign in to telegram from other script, but this way block the main script in first line, and other lines did not written, my Operating system is Ubuntu. I use os.system() it also block my main script.
Is there any way to run 2 script in 2 different terminals or screens ?
FileNotFoundError: [Errno 2] No such file or directory:it give me this error , how can i get the path to popen