2 exe's 1 for main game, and 1 for AI + economy

I would like to know haw the setup a launcher that you select/change config files and log into a server or not. Then star the game. When the game starts it loads 2 exe’s one game server where the AI and background universe happens. Then the other exe is the main game, that logs into the server to send your actions to it and get AI actions out. Or if you start a remote server and in the launcher log into it you will only start the main game a communicate the the remote server. The question is:
Haw do I build a launcher?
Haw can I make the launcher start 2 exe files?