protected void RunCommands() { CommandsList.ForEach(command => Proc.StandardInput.WriteLine(command)); FinishCmd(Proc.StandardInput); }