mirror of
https://github.com/seriocomedy/ShiftOS-C-.git
synced 2025-01-22 02:22:25 -05:00
Fixed GNU/ShiftTerm
Liek da naem
This commit is contained in:
parent
0a87d135d6
commit
a948ceb36c
1 changed files with 3 additions and 9 deletions
|
@ -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();
|
||||
}
|
||||
}));
|
||||
WriteLine(p.StandardOutput.ReadToEnd());
|
||||
p.WaitForExit();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
|
Loading…
Reference in a new issue