How do you launch a seperate server from a client?

On PCs, how do you launch a separate player hosted server from within the client so that the player doesn’t have to launch the server from the operating system?

Thanks! I didn’t realize it would be that easy. lol

That’s it, but you may want your server to take command line arguments or allow a player to issue some commands.