Home · All Classes · Modules

QProcess Class Reference
[QtCore module]

Inherits QIODevice.

Types

Methods

Static Methods

Qt Signals


Detailed Description


Type Documentation

QProcess.ExitStatus

QProcess.ProcessChannel

QProcess.ProcessChannelMode

QProcess.ProcessError

QProcess.ProcessState


Method Documentation

QProcess.__init__ (self, QObject parent = None)

The parent argument, if not None, causes self to be owned by Qt instead of PyQt.

bool QProcess.atEnd (self)

int QProcess.bytesAvailable (self)

int QProcess.bytesToWrite (self)

bool QProcess.canReadLine (self)

QProcess.close (self)

QProcess.closeReadChannel (self, ProcessChannel)

QProcess.closeWriteChannel (self)

QStringList QProcess.environment (self)

ProcessError QProcess.error (self)

int QProcess.execute (QString, QStringList)

int QProcess.execute (QString)

int QProcess.exitCode (self)

ExitStatus QProcess.exitStatus (self)

bool QProcess.isSequential (self)

QProcess.kill (self)

This method is also a Qt slot with the C++ signature void kill().

int QProcess.pid (self)

ProcessChannelMode QProcess.processChannelMode (self)

QProcessEnvironment QProcess.processEnvironment (self)

QByteArray QProcess.readAllStandardError (self)

QByteArray QProcess.readAllStandardOutput (self)

ProcessChannel QProcess.readChannel (self)

ProcessChannelMode QProcess.readChannelMode (self)

str QProcess.readData (self, int maxlen)

QProcess.setEnvironment (self, QStringList)

QProcess.setProcessChannelMode (self, ProcessChannelMode)

QProcess.setProcessEnvironment (self, QProcessEnvironment)

QProcess.setProcessState (self, ProcessState)

QProcess.setReadChannel (self, ProcessChannel)

QProcess.setReadChannelMode (self, ProcessChannelMode)

QProcess.setStandardErrorFile (self, QString, QIODevice.OpenMode mode = QIODevice.Truncate)

QProcess.setStandardInputFile (self, QString)

QProcess.setStandardOutputFile (self, QString, QIODevice.OpenMode mode = QIODevice.Truncate)

QProcess.setStandardOutputProcess (self, QProcess)

QProcess.setupChildProcess (self)

QProcess.setWorkingDirectory (self, QString)

QProcess.start (self, QString, QStringList, QIODevice.OpenMode mode = QIODevice.ReadWrite)

QProcess.start (self, QString, QIODevice.OpenMode mode = QIODevice.ReadWrite)

(bool, int pid) QProcess.startDetached (QString, QStringList, QString)

bool QProcess.startDetached (QString, QStringList)

bool QProcess.startDetached (QString)

ProcessState QProcess.state (self)

QStringList QProcess.systemEnvironment ()

QProcess.terminate (self)

This method is also a Qt slot with the C++ signature void terminate().

bool QProcess.waitForBytesWritten (self, int msecs = 30000)

bool QProcess.waitForFinished (self, int msecs = 30000)

bool QProcess.waitForReadyRead (self, int msecs = 30000)

bool QProcess.waitForStarted (self, int msecs = 30000)

QString QProcess.workingDirectory (self)

int QProcess.writeData (self, str)


Qt Signal Documentation

void error (QProcess::ProcessError)

This is the default overload of this signal.

void finished (int,QProcess::ExitStatus)

This is the default overload of this signal.

void finished (int)

void readyReadStandardError ()

This is the default overload of this signal.

void readyReadStandardOutput ()

This is the default overload of this signal.

void started ()

This is the default overload of this signal.

void stateChanged (QProcess::ProcessState)

This is the default overload of this signal.


PyQt 4.8 for X11Copyright © Riverbank Computing Ltd and Nokia 2010Qt 4.7.0