sending error report events with buffered stderr output upon failure of spawned process