Class: QgsRunProcess¶
-
class
qgis.core.
QgsRunProcess
¶ Bases:
PyQt5.QtCore.QObject
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
Methods
- param action
Splits the string
command
into a list of tokens, and returns the list.-
create
(action: str, capture: bool) → QgsRunProcess¶ - Parameters
action (str) –
capture (bool) –
- Return type
-
dialogGone
(self)¶
-
processError
(self, QProcess.ProcessError)¶
-
processExit
(self, int, QProcess.ExitStatus)¶
-
splitCommand
(command: str) → List[str]¶ 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.
New in version 3.18.
- Parameters
command (str) –
- Return type
List[str]
-
stderrAvailable
(self)¶
-
stdoutAvailable
(self)¶