in reply to Command Terminal: system(), exec() etc query
Read the documentation for them all. They all do different things. Use the one that is most appropriate.