mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 08:38:56 +01:00
Fix sandbox execPath resolution for remote environments
Add execPath to IRemoteAgentEnvironment so the server sends its actual process.execPath to the client. The sandbox service now uses this instead of hardcoding appRoot + '/node', which only works in production builds.
This commit is contained in:
@@ -137,6 +137,7 @@ suite('debugConfigurationManager', () => {
|
||||
pid: 1,
|
||||
connectionToken: 'token',
|
||||
appRoot: URI.file('/remote/app'),
|
||||
execPath: '/remote/app/node',
|
||||
tmpDir: URI.file('/remote/tmp'),
|
||||
settingsPath: URI.file('/remote/settings.json'),
|
||||
mcpResource: URI.file('/remote/mcp.json'),
|
||||
|
||||
Reference in New Issue
Block a user