Skip to content

Instantly share code, notes, and snippets.

@Stephenitis
Created August 7, 2014 09:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Stephenitis/67d149ba643249d91800 to your computer and use it in GitHub Desktop.
Save Stephenitis/67d149ba643249d91800 to your computer and use it in GitHub Desktop.
log node version and openssl version within nodescript
var sys = require('sys')
var exec = require('child_process').exec;
function puts(error, stdout, stderr) { sys.puts(stdout) } exec("openssl version", puts);
console.log(process.version);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment