using cmd.exe with unity 3d standalone

There is a way to use cmd with unity 3d? like when i open the game it opens a command prompt and i can call functions of my game through that ? i know its possible because rust servers runs with it.

i have googled hours and hours and i cant find this, someone can help?

Sure, you can create a System.Diagnostics.Process and get it to launch cmd.exe.

See here for an example: