I'm new to RasPi programming and Python so please treat gently!
I have successfully created 2 Python scrips for my project that I can (and need to) run in parallel. To start them off I currently need to run the firt script/program using "sudo python Prog1.py" in the first terminal window, then open a new terminal window and type "sudo python Prog2.py" to start off my second script/program. Then everything works just fine from there. But, I really want to start my second script from the first one so that it runs automatically, then all I need to do is start the first one automatically at boot.
So my question to the experts here is: How do I (in my first Python script) start a new terminal window instance and then start up my second script from there?
I cant embed the second script in the first one as they both need to run their own separate cycle of checks/events at different rates. The first one loops every 30 seconds, cant be any shorter due to the latency required in the checks it does. The second needs to monitor inputs in near real time. so they both need to run separately. Hope there is a simple easy command to start up a new terminal in python and start my other programm, I just cant find it!