I'm using os.popen()
to run terminal commands in multiple projects.
I keep reading that os.popen()
is deprecated though and I should use Popen()
instead, but I haven't been able to get Popen()
to work for me (it freezes the pi for some reason so I can move the mouse but I can't click or type or open the terminal to shut down safely) and its more code and it seems like a lot of trouble to change code that works perfectly fine.
Is there a reason I should actually work harder to stop using os.popen()
on my pi?