node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

language-spawn

Language Spawn

NPM version Build status Test coverage Gittip

Spawn a file process in any programming language based on language-command.

Installation

npm install language-spawn --save

Usage

var spawn = require('language-spawn');
 
var test = spawn('JavaScript', 'test.js');
 
test.stdout.on('data', function (data) {
  console.log(data);
});
 
test.on('close', function (code) {
  console.log(code);
});

License

MIT