Created
September 8, 2023 15:22
-
-
Save MayerDaniel/c0decd416ae028b239d2144f2513b81f to your computer and use it in GitHub Desktop.
electron persistence
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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