File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/Microsoft.DotNet.XHarness.Apple/AppOperations Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -101,14 +101,18 @@ protected async Task<ProcessExecutionResult> RunMacCatalystApp(
101101
102102 var logStreamScanToken = CaptureMacCatalystLog ( appInformation , cancellationToken ) ;
103103
104+ // The app output log is not directly accessible.
105+ // Hence, we duplicate the log to the main console log to simplify the UX of failure investigation.
106+ IFileBackedLog aggregatedAppOutputLog = Log . CreateReadableAggregatedLog ( _mainLog , appOutputLog ) ;
107+
104108 try
105109 {
106110 return await _processManager . ExecuteCommandAsync (
107111 "open" ,
108112 arguments ,
109113 _mainLog ,
110- appOutputLog ,
111- appOutputLog ,
114+ aggregatedAppOutputLog ,
115+ aggregatedAppOutputLog ,
112116 timeout ,
113117 environmentVariables ,
114118 cancellationToken ) ;
You can’t perform that action at this time.
0 commit comments