mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:41:57 +00:00
fix formatting
GitOrigin-RevId: 60bd152226db705250f49eb892c6cf75b1b265fc
This commit is contained in:
parent
40a7f41b41
commit
406f8b145a
1 changed files with 5 additions and 1 deletions
|
@ -50,7 +50,11 @@ module.exports = CommandRunner = {
|
|||
}
|
||||
|
||||
// run command as detached process so it has its own process group (which can be killed if needed)
|
||||
const proc = spawn(command[0], command.slice(1), { cwd: directory, env, stdio: ['pipe', 'pipe', 'ignore'] })
|
||||
const proc = spawn(command[0], command.slice(1), {
|
||||
cwd: directory,
|
||||
env,
|
||||
stdio: ['pipe', 'pipe', 'ignore'],
|
||||
})
|
||||
|
||||
let stdout = ''
|
||||
proc.stdout.setEncoding('utf8').on('data', data => (stdout += data))
|
||||
|
|
Loading…
Reference in a new issue