- Moved child process to execute command into a ExecCommand()