const { exec } = require('child_process'); function main() { exec("ls -la"); }