Created
August 7, 2014 09:05
-
-
Save Stephenitis/67d149ba643249d91800 to your computer and use it in GitHub Desktop.
log node version and openssl version within nodescript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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