Skip to content

Instantly share code, notes, and snippets.

@burin
Created October 21, 2010 20:17
Show Gist options
  • Save burin/639251 to your computer and use it in GitHub Desktop.
Save burin/639251 to your computer and use it in GitHub Desktop.
var sys = require('sys')
var exec = require('child_process').exec;
function puts(error, stdout, stderr) { sys.puts(stdout) }
exec("ls -la", puts);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment