Skip to content

Latest commit

 

History

History

qt-command-executor

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

qt-command-executor

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"]);