I am trying to write a Raspberry Pi Python-3 script that turns on an IR receiver using a call to os.system() with mode2 as the argument.
When this line of code executes, the mode2 process starts and runs properly (I can see it working in the open terminal) but the rest of the program stalls. There is additional code that needs to run after the os.system("mode2")
call.
My question is: How do I start the mode2 process and still allow the rest of the python-3 code to continue executing?