mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Code]: fix the problem we can't launch node subprocess in released binary (#37533)
This commit is contained in:
parent
35a5919b02
commit
cf72561eca
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export class TypescriptServerLauncher extends AbstractLauncher {
|
|||
}
|
||||
async spawnProcess(installationPath: string, port: number, log: Logger): Promise<ChildProcess> {
|
||||
const p = spawn(
|
||||
'node',
|
||||
process.execPath,
|
||||
['--max_old_space_size=4096', installationPath, '-p', port.toString(), '-c', '1'],
|
||||
{
|
||||
detached: false,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue