This commit is contained in:
root
2025-11-25 09:56:15 +03:00
commit 68c8f0e80d
23717 changed files with 3200521 additions and 0 deletions

11
mc_test/node_modules/spawn-command/examples/simple.js generated vendored Executable file
View File

@ -0,0 +1,11 @@
var spawnCommand = require('../'),
command = (process.platform === 'win32') ? 'echo "Hello spawn"' : 'echo "Hello spawn" | base64',
child = spawnCommand(command);
child.stdout.on('data', function (data) {
console.log('data', data.toString());
});
child.on('exit', function (exitCode) {
console.log('exit', exitCode);
});