Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ScriptRunnerNode

Lets you run some bash commands in a shell from node.js

This package runs with no dependency

Working on node 6


Launch as Standalone :

chmod +x ./script.js

./script.js or sudo ./script.js


Or import it :

SRN.runCommand('echo yes', (res) => {
  if(res.includes('yes')){
    console.log('it works, I got a yes !');
  }
});

Or

SRN.runCommands(['echo SRN','ls','ls -al', 'echo it works']);

About

ScriptRunnerNode

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages