110,533
社区成员
发帖
与我相关
我的任务
分享
Process proc = new Process();
proc.StartInfo.RedirectStandardOutput = true;
proc.OutputDataReceived += (s, e) =>
{
Console.WriteLine(e.Data);
};
proc.Start();
proc.BeginOutputReadLine();