electron-installer-run

Run child processes safely handling all sorts of edge cases.

Usage no npm install needed!

<script type="module">
  import electronInstallerRun from 'https://cdn.skypack.dev/electron-installer-run';
</script>

README

electron-installer-run travis npm

Run child processes safely handling all sorts of edge cases.

Example

var run = require('electron-installer-run');
var args = ['--verify', process.env.APP_PATH];
run('codesign', args, function(err){
  if(err){
    console.error('codesign verification failed!');
    process.exit(1);
  }
  console.log('codesign verification succeeded!');
});

License

Apache 2.0