To use this module in your QML code, start by importing CommandExecutor:
import net.asivery.CommandExecutor 1.0
Then define the CommandExecutor object:
CommandExecutor {
id: cmdExecutor
}
Finally, to execute any command, invoke:
const { stdout, stderr } = cmdExecutor.executeCommand("uname", ["-a"]);