OutputDataReceived has no data?

mc 3,746 Reputation points
var processInfo = new ProcessStartInfo
    FileName = _path,
    Arguments = " ",
    UseShellExecute = false,
    RedirectStandardError = true,
        RedirectStandardInput = true,
    RedirectStandardOutput = true,
    CreateNoWindow = true
_process.StartInfo = processInfo;
_process.OutputDataReceived += _process_OutputDataReceived;
_process.ErrorDataReceived += _process_ErrorDataReceived;

but the data is in _process_ErrorDataReceived not _process_OutputDataReceived


Microsoft Technologies based on the .NET software framework.
3,464 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,687 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,131 questions
{count} votes