>>486
レスありがとうございます。
どうしても、ReadLine、Readでとまってしまいます。変なことはしていないはずなのですが…

private void button1_Click(object sender, System.EventArgs e) {
MyThread mt = new MyThread(this.textBox1);
Thread t = new Thread(new ThreadStart(mt.Run));
this.textBox1.Clear();
t.Start();
}
public class MyThread {
ProcessStartInfo psi;
TextBox tb;
public MyThread(TextBox tb) {
ProcessStartInfo psi = new ProcessStartInfo();
psi.FileName = @"C:\MyCode\C\out.exe"; // C言語で1秒おきに4回puts()するプログラム
psi.RedirectStandardOutput = true;
psi.RedirectStandardError = true;
psi.CreateNoWindow = true;
psi.UseShellExecute = false;
this.psi = psi;
this.tb = tb;
}
public void Run() {
Process p = Process.Start(this.psi);
StreamReader errs = p.StandardError;
StreamReader outs = p.StandardOutput;
while (!p.HasExited) {
//while (outs.Peek() > 0) {
this.tb.Text += outs.ReadLine() + "\r\n";
//}
}