Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const { exec } = require('child_process');
- exec('pandacoind gettransaction 18469a155d91d985691edd9925c9280577d0800960734e584849548c41e26d70', (err, stdout, stderr) => {
- //exec('pandacoind getinfo', (err, stdout, stderr) => {
- if (err) {
- // node couldn't execute the command
- return;
- }
- // the *entire* stdout and stderr (buffered)
- console.log(`${stdout}`);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement