var process = new Process
{
StartInfo = new ProcessStartInfo
{
FileName = "cmd.exe",
RedirectStandardInput = true,
UseShellExecute = false,
CreateNoWindow = false
}
};
process.Start();
process.StandardInput.WriteLine("notepad.exe");