ProcessOutputHandler
Observed use:
Process::OutputReceivedandProcess::ErrorReceivedraise one argument containing raw output bytes.- The wrapper forwards a
winrt::array_view<const uint8_t>produced from the C callback buffer.
process.OutputReceived([](auto const& data)
{
std::string text(data.begin(), data.end());
printf("stdout: %s\n", text.c_str());
});