QGIS API Documentation 3.99.0-Master (26c88405ac0)
Loading...
Searching...
No Matches
QgsRunProcess Class Reference

Executes an external program/script. More...

#include <qgsrunprocess.h>

Inheritance diagram for QgsRunProcess:

Static Public Member Functions

static QgsRunProcesscreate (const QString &action, bool capture)
static QStringList splitCommand (const QString &command)
 Splits the string command into a list of tokens, and returns the list.

Detailed Description

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 48 of file qgsrunprocess.h.

Member Function Documentation

◆ create()

QgsRunProcess * QgsRunProcess::create ( const QString & action,
bool capture )
inlinestatic

Definition at line 60 of file qgsrunprocess.h.

◆ splitCommand()

QStringList QgsRunProcess::splitCommand ( const QString & command)
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.

Since
QGIS 3.18

Definition at line 194 of file qgsrunprocess.cpp.


The documentation for this class was generated from the following files: