Node.JS script: execution of incoming requests in shell