It appears you have a well-structured Git repository with various files, including SVG icons and HTML documents. Here's a brief overview:
This commit is contained in:
11
backend/node_modules/spawn-command/examples/simple.js
generated
vendored
Normal file
11
backend/node_modules/spawn-command/examples/simple.js
generated
vendored
Normal 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);
|
||||
});
|
Reference in New Issue
Block a user