Fixed GNU/ShiftTerm

Liek da naem
This commit is contained in:
Carver Harrison 2016-07-22 20:44:20 -07:00
parent 0a87d135d6
commit a948ceb36c

View file

@ -1686,15 +1686,9 @@ public void runExe(string[] args)
p.StartInfo.ErrorDialog = false;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.StartInfo.WorkingDirectory = current_dir;
this.Invoke(new Action(() =>
{
p.Start();
StreamWriter sw = p.StandardInput;
while (!p.HasExited)
{
txtterm.Text += p.StandardOutput.Read();
}
}));
p.Start();
WriteLine(p.StandardOutput.ReadToEnd());
p.WaitForExit();
}
#endregion