Skip to content

Instantly share code, notes, and snippets.

@MayerDaniel
Created September 8, 2023 15:22
Show Gist options
  • Save MayerDaniel/c0decd416ae028b239d2144f2513b81f to your computer and use it in GitHub Desktop.
Save MayerDaniel/c0decd416ae028b239d2144f2513b81f to your computer and use it in GitHub Desktop.
electron persistence
var exec = require('child_process').execFile;
var fun =function(){
exec('<exe path>', {cwd: '<directory>'},
function(err, data) {
console.log(err)
console.log(data.toString());
});
}
fun();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment