File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
src/vs/workbench/contrib/terminal/browser Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -446,10 +446,15 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
446
446
this . _xtermReadyPromise . then ( async ( ) => {
447
447
// Wait for a period to allow a container to be ready
448
448
await this . _containerReadyBarrier . wait ( ) ;
449
- if ( this . _configHelper . config . shellIntegration ?. enabled && ! this . shellLaunchConfig . executable ) {
449
+
450
+ // Resolve the executable ahead of time if shell integration is enabled, this should not
451
+ // be done for custom PTYs as that would cause extension Pseudoterminal-based terminals
452
+ // to hang in resolver extensions
453
+ if ( ! this . shellLaunchConfig . customPtyImplementation && this . _configHelper . config . shellIntegration ?. enabled && ! this . shellLaunchConfig . executable ) {
450
454
const os = await this . _processManager . getBackendOS ( ) ;
451
455
this . shellLaunchConfig . executable = ( await this . _terminalProfileResolverService . getDefaultProfile ( { remoteAuthority : this . remoteAuthority , os } ) ) . path ;
452
456
}
457
+
453
458
await this . _createProcess ( ) ;
454
459
455
460
// Re-establish the title after reconnect
You can’t perform that action at this time.
0 commit comments