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

create(action: str, capture: bool) QgsRunProcess
Parameters
  • action (str) –

  • capture (bool) –

Return type

QgsRunProcess

dialogGone(self)
processError(self, QProcess.ProcessError)
processExit(self, int, QProcess.ExitStatus)
stderrAvailable(self)
stdoutAvailable(self)