Compare commits

...

1 Commits

Author SHA1 Message Date
Anton Bannykh
3789cf33b2 JS: return exit code from the NodeJs kotlinc-js wrapper 2017-07-12 16:32:01 +03:00

View File

@@ -20,4 +20,6 @@ var spawn = require('child_process').spawn;
var execPath = __dirname + '/kotlinc-js';
var args = process.argv.slice(2);
spawn('"' + execPath + '"', args, { stdio: "inherit", shell: true });
spawn('"' + execPath + '"', args, { stdio: "inherit", shell: true }).on('exit', function(exitCode) {
process.exit(exitCode);
});