/electron-installer-run

Run child processes safely handling all sorts of edge cases.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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