Class: QgsRunProcess¶
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
Class Hierarchy¶
Base classes¶
Methods
Static Methods
Splits the string command into a list of tokens, and returns the list. |
- class qgis.core.QgsRunProcess[source]¶
Bases:
QObject
- static create(action: str | None, capture: bool) QgsRunProcess | None [source]¶
- Parameters:
action (Optional[str])
capture (bool)
- Return type:
Optional[QgsRunProcess]
- processExit(self, a0: int, a1: QProcess.ExitStatus)[source]¶
- Parameters:
a0 (int)
a1 (QProcess.ExitStatus)
- static splitCommand(command: str | None) List[str] [source]¶
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.
Added in version 3.18.
- Parameters:
command (Optional[str])
- Return type:
List[str]