mirror of
https://github.com/seriocomedy/ShiftOS-C-.git
synced 2025-01-22 17:22:14 +00: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.ErrorDialog = false;
|
||||||
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
|
||||||
p.StartInfo.WorkingDirectory = current_dir;
|
p.StartInfo.WorkingDirectory = current_dir;
|
||||||
this.Invoke(new Action(() =>
|
|
||||||
{
|
|
||||||
p.Start();
|
p.Start();
|
||||||
StreamWriter sw = p.StandardInput;
|
WriteLine(p.StandardOutput.ReadToEnd());
|
||||||
while (!p.HasExited)
|
p.WaitForExit();
|
||||||
{
|
|
||||||
txtterm.Text += p.StandardOutput.Read();
|
|
||||||
}
|
|
||||||
}));
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue