Answers for "executing linux commands in nodejs"

0

running shell commands nodejs

const system = require('system-commands')

system('ls').then(output => {
    console.log(output)
}).catch(error => {
    console.error(error)
})
Posted by: Guest on December-27-2021

Code answers related to "executing linux commands in nodejs"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language