executeNodeSetParser.js 222 B

12345678910
  1. /*
  2. sources:
  3. https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-javascript, 02/03/2022
  4. */
  5. var fs = require('fs');
  6. console.log('woop');
  7. var files = fs.readdirSync('.');
  8. console.log('OK: ' + files);