Skip to content

Instantly share code, notes, and snippets.

@ngmaloney
Created December 13, 2011 19:55
Show Gist options
  • Save ngmaloney/1473603 to your computer and use it in GitHub Desktop.
Save ngmaloney/1473603 to your computer and use it in GitHub Desktop.
Nodeshot calling shell script
var cmd = './lib/bin/nodeshot ' + remote_url + ' ' + path + filename + ' ' + width + 'x' + height;
child = exec(cmd, {timeout: 20000}, function(error, stdout, stderr) {
//handler code here
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment