I am in the process of porting a CLI library from Ruby over to Node.js. In my code I execute several third party binaries when necessary. I am not sure how best to accomplis
const exec = require("child_process").exec exec("ls", (error, stdout, stderr) => { //do whatever here })