function runChildCommand(command, args = []) {
  const combinedArgs = [lhciCliPath, command, ...args]
  const { status = -1 } = childProcess.spawnSync(process.argv[0], combinedArgs, {
    stdio: 'inherit',
  })
  return status || 0
}
/**
 * Run a child command synchronously.
 *
 * @param {'collect'|'assert'|'upload'} command
 * @param {string[]} [args]
 * @return {number}
 */
Run a child command synchronously.
Run a child command synchronously .
function runChildCommand(command, args = []) {
  const combinedArgs = [lhciCliPath, command, ...args]
  const { status = -1 } = childProcess.spawnSync(process.argv[0], combinedArgs, {
    stdio: 'inherit',
  })
  return status || 0
}
function runChildCommand ( command , args = [ ] ) { const combinedArgs = [ lhciCliPath , command , ... args ] const { status = - 1 } = childProcess . spawnSync ( process . argv [ 0 ] , combinedArgs , { stdio : 'inherit' , } ) return status || 0 }
Run a child command synchronously.
Run a child command synchronously .