2 ответов
+ 3
os.system() calls the C function system(). It spawns a separate process, the implementation is different in each operating system.
It is advised to use subprocess.call() instead.
Check the official docs
https://docs.python.org/3.8/library/os.html#os.system
+ 2
Tibor Santa, thanks for the help and the pointer to the python documentation.