.NET プログラムから php-cgi.exe を呼び出そうとしています。RedirectStandardOutput を使用して出力をストリームとして戻しますが、全体が非常に遅くなります。
どうすればそれをより速くできるかについて何か考えがありますか? 他のテクニックは?
Dim oCGI As ProcessStartInfo = New ProcessStartInfo()
oCGI.WorkingDirectory = "C:\Program Files\Application\php"
oCGI.FileName = "php-cgi.exe"
oCGI.RedirectStandardOutput = True
oCGI.RedirectStandardInput = True
oCGI.UseShellExecute = False
oCGI.CreateNoWindow = True
Dim oProcess As Process = New Process()
oProcess.StartInfo = oCGI
oProcess.Start()
oProcess.StandardOutput.ReadToEnd()