Run Unix commands using PuTTY in C# [duplicate]
问题 This question already has answers here : Automating running command on Linux from Windows using PuTTY (9 answers) Closed 4 years ago . I am trying to run Unix commands in PuTTY using C#. I have the below code. But the code is not working. I am not able to open PuTTY. static void Main(string[] args) { Process cmd = new Process(); cmd.StartInfo.FileName = @"C:\Windows\System32\cmd"; cmd.StartInfo.UseShellExecute = false; cmd.StartInfo.RedirectStandardInput = false; cmd.StartInfo