You should use subprocess
. Not that it makes any difference, it's just a newer module intended to replace os.system
(have a look at this section for a drop-in replacement). It also has more features in case you need them one day.
In short: there is no reason to use os.system
(except for compatibility with older versions of Python).