@@ -125,7 +125,7 @@ public async Task<int> LaunchDetachedAsync(
125125 logger . LogDebug ( "Waiting for socket with prefix: {SocketPrefix}, Hash: {Hash}" , expectedSocketPrefix , expectedHash ) ;
126126
127127 // Start the child process and wait for the backchannel
128- var launchResult = await LaunchAndWaitForBackchannelAsync ( executablePath , childArgs , expectedHash , format , cancellationToken ) ;
128+ var launchResult = await LaunchAndWaitForBackchannelAsync ( executablePath , childArgs , expectedHash , cancellationToken ) ;
129129
130130 // Handle failure cases
131131 if ( launchResult . Backchannel is null || launchResult . ChildProcess is null )
@@ -212,7 +212,6 @@ private async Task<LaunchResult> LaunchAndWaitForBackchannelAsync(
212212 string executablePath ,
213213 List < string > childArgs ,
214214 string expectedHash ,
215- OutputFormat ? format ,
216215 CancellationToken cancellationToken )
217216 {
218217 Process ? childProcess = null ;
@@ -272,17 +271,9 @@ private async Task<LaunchResult> LaunchAndWaitForBackchannelAsync(
272271 return null ;
273272 }
274273
275- IAppHostAuxiliaryBackchannel ? backchannel ;
276- if ( format == OutputFormat . Json )
277- {
278- backchannel = await WaitForBackchannelAsync ( ) ;
279- }
280- else
281- {
282- backchannel = await interactionService . ShowStatusAsync (
283- RunCommandStrings . StartingAppHostInBackground ,
284- WaitForBackchannelAsync ) ;
285- }
274+ var backchannel = await interactionService . ShowStatusAsync (
275+ RunCommandStrings . StartingAppHostInBackground ,
276+ WaitForBackchannelAsync ) ;
286277
287278 return new LaunchResult ( childProcess , backchannel , childExitedEarly , childExitCode ) ;
288279 }
0 commit comments