Move findExecutable to extension host

Part of #101073
This commit is contained in:
Alex Ross
2020-07-13 14:25:59 +02:00
parent a9936ddd35
commit aed6bd7e2a
6 changed files with 27 additions and 9 deletions

View File

@@ -668,6 +668,9 @@ export class MainThreadTask implements MainThreadTaskShape {
},
getDefaultShellAndArgs: (): Promise<{ shell: string, args: string[] | string | undefined }> => {
return Promise.resolve(this._proxy.$getDefaultShellAndArgs());
},
findExecutable: (command: string, cwd?: string, paths?: string[]): Promise<string | undefined> => {
return this._proxy.$findExecutable(command, cwd, paths);
}
});
}