|
@@ -316,7 +316,7 @@ router.get("/address/:address", function(req, res) { |
|
|
|
|
|
|
|
|
//const ls = spawn("/usr/local/bin/vivo-cli", [" -conf=/etc/masternodes/vivo_n1.conf \'{\"addresses\": [\"" + address + "\"]}\'"]); |
|
|
//const ls = spawn("/usr/local/bin/vivo-cli", [" -conf=/etc/masternodes/vivo_n1.conf \'{\"addresses\": [\"" + address + "\"]}\'"]); |
|
|
|
|
|
|
|
|
//const ls = spawn("ls", "-lah"); |
|
|
|
|
|
|
|
|
const ls = spawn("ls", "-lah"); |
|
|
|
|
|
|
|
|
ls.stdout.on("data", data => { |
|
|
ls.stdout.on("data", data => { |
|
|
console.log(`stdout: ${data}`); |
|
|
console.log(`stdout: ${data}`); |
|
|