Python - When Is It Ok to Use os.system() to issue common Linux commands

Viewed 3954

Spinning off from another thread, when is it appropriate to use os.system() to issue commands like rm -rf, cd, make, xterm, ls ?

Considering there are analog versions of the above commands (except make and xterm), I'm assuming it's safer to use these built-in python commands instead of using os.system()

Any thoughts? I'd love to hear them.

7 Answers
Related