Created
May 19, 2019 09:12
-
-
Save xiaojay/f4db4d49a77f41ab7d58aebf5c9e83b8 to your computer and use it in GitHub Desktop.
init.js
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 cp = require('child_process') | |
i = cp.spawn('grin-wallet', ['init']) | |
i.stdout.on('data', function(data){ | |
let output = data.toString() | |
console.log(output) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment