Код: Выделить всё
// Set up the ProcessStartInfo
ProcessStartInfo startInfo = new ProcessStartInfo()
{
FileName = consoleAppPath, // Use cmd.exe to execute the console app
Arguments ="", // /K keeps the window open after the command is executed
CreateNoWindow = true, // Make sure the command window is visible
UseShellExecute = false // Execute via the system shell to allow interaction
};
Process process = Process.Start(startInfo);
Подробнее здесь: https://stackoverflow.com/questions/793 ... l-studio-c
Мобильная версия