What system calls or commands do I need to use in order to execute a different program from an already running process?
If you are talking about compiled programs, look at the fork and exec* system calls or - for easy use - the system libary function.