I need to run 2 python instance at run time. I have edited /etc/rc.local file but it doesnt work, because they don't return anything, and i don't want to return it. Because one of the my file is flask file, which is web service, it must run all the time, another is, mifare card reader program (MFRC522-python/Read.py) it has while loop so, it never returns..
i need both files run at start up. i edited start up like (/etc/rc.local)
sudo python /home/pi/MFRC522-python/Read.py & sudo python /home/pi/Flask/Webservis.py
When i try this, web servis run, Read.py doesn't, when i tried other variation
sudo python /home/pi/Flask/Webservis.py & sudo python /home/pi/MFRC522-python/Read.py
Web Servis stops, Read.py is running. How can i solve this problem?