execute an external program

hi
i am writing a small launcher currently...
how can i execute an external program (from some kind of launcher) and close the launcher after clicking on the button for the external program to load?
best regards
i am writing a small launcher currently...
how can i execute an external program (from some kind of launcher) and close the launcher after clicking on the button for the external program to load?
best regards