Skip to content

Commit

Permalink
Pass Code's executable path to PowerShell Editor Services
Browse files Browse the repository at this point in the history
So that it can be used to find the shell integration script.
  • Loading branch information
andyleejordan committed Apr 3, 2024
1 parent 1f62851 commit 5f20f63
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,7 @@ export class SessionManager implements Middleware {
enableProfileLoading: this.sessionSettings.enableProfileLoading,
initialWorkingDirectory: await validateCwdSetting(this.logger),
shellIntegrationEnabled: vscode.workspace.getConfiguration("terminal.integrated.shellIntegration").get<boolean>("enabled"),
clientExePath: process.argv0,
},
errorHandler: {
// Override the default error handler to prevent it from
Expand Down

0 comments on commit 5f20f63

Please sign in to comment.