mirror of
https://github.com/Microsoft/vscode
synced 2024-10-01 08:50:48 +00:00
parent
ca688da9fb
commit
b1ecfe96b5
|
@ -278,8 +278,7 @@ export class ElectronServiceProcessFactory implements TsServerProcessFactory {
|
|||
}
|
||||
|
||||
const childProcess = execPath ?
|
||||
child_process.spawn(JSON.stringify(execPath), [...execArgv, tsServerPath, ...runtimeArgs], {
|
||||
shell: true,
|
||||
child_process.spawn(execPath, [...execArgv, tsServerPath, ...runtimeArgs], {
|
||||
windowsHide: true,
|
||||
cwd: undefined,
|
||||
env,
|
||||
|
|
|
@ -234,7 +234,7 @@ export class TypeScriptServerSpawner {
|
|||
tsServerLog = { type: 'file', uri: logFilePath };
|
||||
|
||||
args.push('--logVerbosity', TsServerLogLevel.toString(configuration.tsServerLogLevel));
|
||||
args.push('--logFile', `"${logFilePath.fsPath}"`);
|
||||
args.push('--logFile', logFilePath.fsPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue