Skip to content

Commit 5f20f63

Browse files
committed
Pass Code's executable path to PowerShell Editor Services
So that it can be used to find the shell integration script.
1 parent 1f62851 commit 5f20f63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/session.ts

+1
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,7 @@ export class SessionManager implements Middleware {
623623
enableProfileLoading: this.sessionSettings.enableProfileLoading,
624624
initialWorkingDirectory: await validateCwdSetting(this.logger),
625625
shellIntegrationEnabled: vscode.workspace.getConfiguration("terminal.integrated.shellIntegration").get<boolean>("enabled"),
626+
clientExePath: process.argv0,
626627
},
627628
errorHandler: {
628629
// Override the default error handler to prevent it from

0 commit comments

Comments
 (0)