Created
September 16, 2010 18:04
-
-
Save omarkj/582867 to your computer and use it in GitHub Desktop.
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'), | |
spawn = require('child_process').spawn, | |
openssl = spawn('python', ['test.py']); | |
openssl.stdout.on('data', function (data) {+ | |
sys.print('signature is valid: ' + data); | |
}); | |
openssl.stderr.on('data', function (data) { | |
sys.print('Error: ' + data); | |
}); | |
openssl.on('exit', function (code) { | |
console.log('child process exited with code ' + code); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment