How to use the electron-installer-common.spawn function in electron-installer-common

To help you get started, we’ve selected a few electron-installer-common examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github electron-userland / electron-installer-windows / test / helpers / describe_cli.js View on Github external
before(async () => {
      const logs = await spawn('./src/cli.js', args, null, null)
      printLogs(logs)
    })
github electron-userland / electron-installer-debian / src / spawn.js View on Github external
module.exports = async function (cmd, args, logger) {
  return spawn(cmd, args, logger, updateExecutableMissingException)
}
github electron-userland / electron-installer-redhat / src / spawn.js View on Github external
module.exports = function (cmd, args, logger) {
  return spawn(cmd, args, logger, updateExecutableMissingException)
}
github electron-userland / electron-installer-windows / src / spawn.js View on Github external
module.exports = async function (cmd, args, logger) {
  if (process.platform !== 'win32') {
    args.unshift(cmd)
    cmd = 'mono'
  }
  return spawn(cmd, args, logger, updateExecutableMissingException)
}