mirror of
https://github.com/wassname/phaser.git
synced 2026-07-07 00:06:37 +08:00
10 lines
273 B
JavaScript
10 lines
273 B
JavaScript
|
|
var code = Number(process.argv[2]);
|
|
|
|
process.stdout.write('stdout\n');
|
|
process.stderr.write('stderr\n');
|
|
|
|
// Use instead of process.exit to ensure stdout/stderr are flushed
|
|
// before exiting in Windows (Tested in Node.js v0.8.7)
|
|
require('../../lib/util/exit').exit(code);
|