mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
parent
45c6f6e002
commit
fba1cc91d6
1 changed files with 5 additions and 9 deletions
|
@ -43,15 +43,11 @@ export class TypescriptServerLauncher extends AbstractLauncher {
|
|||
});
|
||||
}
|
||||
async spawnProcess(installationPath: string, port: number, log: Logger): Promise<ChildProcess> {
|
||||
const p = spawn(
|
||||
process.execPath,
|
||||
['--max_old_space_size=4096', installationPath, '-p', port.toString(), '-c', '1'],
|
||||
{
|
||||
detached: false,
|
||||
stdio: 'pipe',
|
||||
cwd: resolve(installationPath, '../..'),
|
||||
}
|
||||
);
|
||||
const p = spawn(process.execPath, [installationPath, '-p', port.toString(), '-c', '1'], {
|
||||
detached: false,
|
||||
stdio: 'pipe',
|
||||
cwd: resolve(installationPath, '../..'),
|
||||
});
|
||||
p.stdout.on('data', data => {
|
||||
log.stdout(data.toString());
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue