QGIS API Documentation
3.20.0-Odense (decaadbb31)
|
A class that executes an external program/script. More...
#include <qgsrunprocess.h>
Static Public Member Functions | |
static QgsRunProcess * | create (const QString &action, bool capture) |
static QStringList | splitCommand (const QString &command) |
Splits the string command into a list of tokens, and returns the list. More... | |
A class that executes an external program/script.
It can optionally capture the standard output and error from the process and displays them in a dialog box.
On some platforms (e.g. iOS) , the process execution is skipped https://lists.qt-project.org/pipermail/development/2015-July/022205.html
Definition at line 47 of file qgsrunprocess.h.
|
inlinestatic |
Definition at line 59 of file qgsrunprocess.h.
|
static |
Splits the string command into a list of tokens, and returns the list.
Tokens with spaces can be surrounded by double quotes; three consecutive double quotes represent the quote character itself.
Definition at line 249 of file qgsrunprocess.cpp.