For Windows consider using CreateProcess().

For Linux - fork() and then execve().

They all are documented well, look msdn and man-pages.