Skip to content

Instantly share code, notes, and snippets.

@gasolin
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save gasolin/9856608 to your computer and use it in GitHub Desktop.

Select an option

Save gasolin/9856608 to your computer and use it in GitHub Desktop.
run system execution via nodejs
function action_cmd(cmd) {
var sys = require('sys')
var exec = require('child_process').exec;
function puts(error, stdout, stderr) {sys.puts(stdout)}
exec(cmd, puts);
}
@Favorwilliams
Copy link

My Pleasure to write you,
My name is Favor Williams,
My email address is
( [email protected])
Am interested to know
more about you,
Contact me for my
photo and other
important issue via,

[email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment