I have a simple shell script:
#!/bin/bash
echo "hello john"
And I also have a very basic server file:
var express = require('express');
var app = express();
app.get('/', function (req, res) {
  /*
  Code to execute the shell script
  */
});
var server = app.listen(3000, function () {
  var host = server.address().address;
  var port = server.address().port;
  console.log('App listening at http://%s:%s', host, port);
});
