5
Виконати та отримати вихід команди оболонки в node.js
У node.js я хотів би знайти спосіб отримання виводу команди терміналу Unix. Чи можна це зробити? function getCommandOutput(commandString){ // now how can I implement this function? // getCommandOutput("ls") should print the terminal output of the shell command "ls" }