-
Notifications
You must be signed in to change notification settings - Fork 520
Commit 431e236
committed
Pass the path to
The server can't use `code --locate-shell-integration-path pwsh`
because it doesn't know if it's `code` or `code-insiders` etc.
Even when given the direct path to the client's host process, it can't
reliably use that API either. Mostly this is due to Windows using
`Code.cmd` in the background (which is not `Code.exe`, the host process)
but it's also slower anyway as it requires another launch of Node.js.
We'll have to rely on the path to the script not changing relative to
`vscode.env.appRoot`, but at least that part is a public API.shellIntegration.ps1
directly to the server1 parent 1f62851 commit 431e236
1 file changed
+6
-1
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
610 | 610 |
| |
611 | 611 |
| |
612 | 612 |
| |
613 | + | ||
614 | + | ||
615 | + | ||
616 | + | ||
617 | + | ||
613 | 618 |
| |
614 | 619 |
| |
615 | 620 |
| |
| |||
622 | 627 |
| |
623 | 628 |
| |
624 | 629 |
| |
625 | - | ||
630 | + | ||
626 | 631 |
| |
627 | 632 |
| |
628 | 633 |
| |
|
0 commit comments