3 ms·
They are just functions - but Node lets you run external scripts. The relevant bit of source (you can view it all with cat index.js) is: ``` const result = chi
by mcintyre1994 8y ago
They are just functions - but Node lets you run external scripts. The relevant bit of source (you can view it all with cat index.js) is:
```
const result = childProcess.execSync(event.body.command).toString();
console.log(result);
var response = {result: result};
context.done(null, response);
```
So it's not really a shell itself, but every time you send a command on the website it runs it, returns you the response, and the website adds that response to its shell GUI.