File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed
tests/E2E Tests/WebAppUiTests Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -182,8 +182,17 @@ public static Process StartProcessLocally(
182182 else
183183 {
184184 // Log the output and error streams
185- process . OutputDataReceived += ( sender , e ) => output . WriteLine ( e . Data ) ;
186- process . ErrorDataReceived += ( sender , e ) => output . WriteLine ( e . Data ) ;
185+ process . OutputDataReceived += ( sender , e ) =>
186+ {
187+ output . WriteLine ( $ "{ process . Id } ") ;
188+ output . WriteLine ( e ? . Data ?? "null output data received." ) ;
189+ } ;
190+
191+ process . ErrorDataReceived += ( sender , e ) =>
192+ {
193+ output . WriteLine ( $ "{ process . Id } ") ;
194+ output . WriteLine ( e ? . Data ?? "null error data received." ) ;
195+ } ;
187196
188197 process . BeginOutputReadLine ( ) ;
189198 process . BeginErrorReadLine ( ) ;
You can’t perform that action at this time.
0 commit comments