Inspired by http://www.xargs.com/qml/process.html
## Setup
Add to project.pro:
```
HEADERS += \
../../qml-process/process.h
```
Add to main.cpp
```c++
#include
#include "../../qml-process/process.h"
// in main:
qmlRegisterType("Process", 1, 0, "Process");
```
also, add the `SimpleProcess.qml` and `SimpleProcess.js` files to your
project.
The simplest way to use it is to call the `callProcess` function:
```js
import "SimpleProcess.js" as SimpleProcess
Item {
Component.onCompleted {
SimpleProcess.callProcess("echo", ["Hello", "World"], (_, stdout)=>console.log(stdout))
}
}
```