mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
8 lines
205 B
JavaScript
8 lines
205 B
JavaScript
// CommonJS module — `.cjs` extension. Identifies as JavaScript.
|
|
const { exec } = require("child_process");
|
|
|
|
function runCommand(payload) {
|
|
exec("ls " + payload);
|
|
}
|
|
|
|
module.exports = { runCommand };
|