Participer au site avec un Tip
Rechercher
 

Améliorations / Corrections

Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.

Emplacement :

Description des améliorations :

Module « PySide6.QtCore »

Classe « QProcess »

Informations générales

Héritage

builtins.object
    Object
        QIODeviceBase
builtins.object
    Object
        QObject
            QIODevice
                QProcess

Définition

class QProcess(QIODevice):

Description [extrait de QProcess.__doc__]

QProcess(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None

Constructeur(s)

Signature du constructeur Description
__new__(*args, **kwargs) Create and return a new object. See help(type) for accurate signature. [extrait de __new__.__doc__]
__init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None __init__(self, parent: Optional[PySide6.QtCore.QObject] = None) -> None [extrait de __init__.__doc__]

Liste des attributs statiques

Nom de l'attribut Valeur
AppendPySide6.QtCore.QIODeviceBase.OpenModeFlag.Append
CrashedPySide6.QtCore.QProcess.ProcessError.Crashed
CrashExitPySide6.QtCore.QProcess.ExitStatus.CrashExit
ExistingOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ExistingOnly
FailedToStartPySide6.QtCore.QProcess.ProcessError.FailedToStart
ForwardedChannelsPySide6.QtCore.QProcess.ProcessChannelMode.ForwardedChannels
ForwardedErrorChannelPySide6.QtCore.QProcess.ProcessChannelMode.ForwardedErrorChannel
ForwardedInputChannelPySide6.QtCore.QProcess.InputChannelMode.ForwardedInputChannel
ForwardedOutputChannelPySide6.QtCore.QProcess.ProcessChannelMode.ForwardedOutputChannel
ManagedInputChannelPySide6.QtCore.QProcess.InputChannelMode.ManagedInputChannel
MergedChannelsPySide6.QtCore.QProcess.ProcessChannelMode.MergedChannels
NewOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.NewOnly
NormalExitPySide6.QtCore.QProcess.ExitStatus.NormalExit
NotOpenPySide6.QtCore.QIODeviceBase.OpenModeFlag.NotOpen
NotRunningPySide6.QtCore.QProcess.ProcessState.NotRunning
ReadErrorPySide6.QtCore.QProcess.ProcessError.ReadError
ReadOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadOnly
ReadWritePySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite
RunningPySide6.QtCore.QProcess.ProcessState.Running
SeparateChannelsPySide6.QtCore.QProcess.ProcessChannelMode.SeparateChannels
StandardErrorPySide6.QtCore.QProcess.ProcessChannel.StandardError
StandardOutputPySide6.QtCore.QProcess.ProcessChannel.StandardOutput
StartingPySide6.QtCore.QProcess.ProcessState.Starting
staticMetaObject<PySide6.QtCore.QMetaObject object at 0x7f40ebf261c0>
TextPySide6.QtCore.QIODeviceBase.OpenModeFlag.Text
TimedoutPySide6.QtCore.QProcess.ProcessError.Timedout
TruncatePySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate
UnbufferedPySide6.QtCore.QIODeviceBase.OpenModeFlag.Unbuffered
UnknownErrorPySide6.QtCore.QProcess.ProcessError.UnknownError
WriteErrorPySide6.QtCore.QProcess.ProcessError.WriteError
WriteOnlyPySide6.QtCore.QIODeviceBase.OpenModeFlag.WriteOnly

Liste des opérateurs

Opérateurs hérités de la classe object

__eq__, __ge__, __gt__, __le__, __lt__, __ne__

Liste des méthodes

Toutes les méthodes Méthodes d'instance Méthodes statiques Méthodes dépréciées
Signature de la méthodeDescription
__delattr__(self, name) Implement delattr(self, name). [extrait de __delattr__.__doc__]
__getattribute__(self, name) Return getattr(self, name). [extrait de __getattribute__.__doc__]
__setattr__(self, name, value) Implement setattr(self, name, value). [extrait de __setattr__.__doc__]
aboutToClose
arguments(self) -> List[str] arguments(self) -> List[str] [extrait de arguments.__doc__]
bytesToWrite(self) -> int bytesToWrite(self) -> int [extrait de bytesToWrite.__doc__]
bytesWritten
channelBytesWritten
channelReadyRead
close(self) -> None close(self) -> None [extrait de close.__doc__]
closeReadChannel(self, channel: PySide6.QtCore.QProcess.ProcessChannel) -> None closeReadChannel(self, channel: PySide6.QtCore.QProcess.ProcessChannel) -> None [extrait de closeReadChannel.__doc__]
closeWriteChannel(self) -> None closeWriteChannel(self) -> None [extrait de closeWriteChannel.__doc__]
destroyed
environment(self) -> List[str] environment(self) -> List[str] [extrait de environment.__doc__]
error(self) -> PySide6.QtCore.QProcess.ProcessError error(self) -> PySide6.QtCore.QProcess.ProcessError [extrait de error.__doc__]
errorOccurred
execute(program: str, arguments: Sequence[str] = {}) -> int execute(program: str, arguments: Sequence[str] = {}) -> int [extrait de execute.__doc__]
exitCode(self) -> int exitCode(self) -> int [extrait de exitCode.__doc__]
ExitStatus
exitStatus(self) -> PySide6.QtCore.QProcess.ExitStatus exitStatus(self) -> PySide6.QtCore.QProcess.ExitStatus [extrait de exitStatus.__doc__]
finished
InputChannelMode
inputChannelMode(self) -> PySide6.QtCore.QProcess.InputChannelMode inputChannelMode(self) -> PySide6.QtCore.QProcess.InputChannelMode [extrait de inputChannelMode.__doc__]
isSequential(self) -> bool isSequential(self) -> bool [extrait de isSequential.__doc__]
kill(self) -> None kill(self) -> None [extrait de kill.__doc__]
nullDevice() -> str nullDevice() -> str [extrait de nullDevice.__doc__]
objectNameChanged
open(self, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool open(self, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> bool [extrait de open.__doc__]
ProcessChannel
ProcessChannelMode
processChannelMode(self) -> PySide6.QtCore.QProcess.ProcessChannelMode processChannelMode(self) -> PySide6.QtCore.QProcess.ProcessChannelMode [extrait de processChannelMode.__doc__]
processEnvironment(self) -> PySide6.QtCore.QProcessEnvironment processEnvironment(self) -> PySide6.QtCore.QProcessEnvironment [extrait de processEnvironment.__doc__]
ProcessError
processId(self) -> int processId(self) -> int [extrait de processId.__doc__]
ProcessState
program(self) -> str program(self) -> str [extrait de program.__doc__]
readAllStandardError(self) -> PySide6.QtCore.QByteArray readAllStandardError(self) -> PySide6.QtCore.QByteArray [extrait de readAllStandardError.__doc__]
readAllStandardOutput(self) -> PySide6.QtCore.QByteArray readAllStandardOutput(self) -> PySide6.QtCore.QByteArray [extrait de readAllStandardOutput.__doc__]
readChannel(self) -> PySide6.QtCore.QProcess.ProcessChannel readChannel(self) -> PySide6.QtCore.QProcess.ProcessChannel [extrait de readChannel.__doc__]
readChannelFinished
readData(self, data: bytes, maxlen: int) -> object readData(self, data: bytes, maxlen: int) -> object [extrait de readData.__doc__]
readyRead
readyReadStandardError
readyReadStandardOutput
setArguments(self, arguments: Sequence[str]) -> None setArguments(self, arguments: Sequence[str]) -> None [extrait de setArguments.__doc__]
setEnvironment(self, environment: Sequence[str]) -> None setEnvironment(self, environment: Sequence[str]) -> None [extrait de setEnvironment.__doc__]
setInputChannelMode(self, mode: PySide6.QtCore.QProcess.InputChannelMode) -> None setInputChannelMode(self, mode: PySide6.QtCore.QProcess.InputChannelMode) -> None [extrait de setInputChannelMode.__doc__]
setProcessChannelMode(self, mode: PySide6.QtCore.QProcess.ProcessChannelMode) -> None setProcessChannelMode(self, mode: PySide6.QtCore.QProcess.ProcessChannelMode) -> None [extrait de setProcessChannelMode.__doc__]
setProcessEnvironment(self, environment: PySide6.QtCore.QProcessEnvironment) -> None setProcessEnvironment(self, environment: PySide6.QtCore.QProcessEnvironment) -> None [extrait de setProcessEnvironment.__doc__]
setProcessState(self, state: PySide6.QtCore.QProcess.ProcessState) -> None setProcessState(self, state: PySide6.QtCore.QProcess.ProcessState) -> None [extrait de setProcessState.__doc__]
setProgram(self, program: str) -> None setProgram(self, program: str) -> None [extrait de setProgram.__doc__]
setReadChannel(self, channel: PySide6.QtCore.QProcess.ProcessChannel) -> None setReadChannel(self, channel: PySide6.QtCore.QProcess.ProcessChannel) -> None [extrait de setReadChannel.__doc__]
setStandardErrorFile(self, fileName: str, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate) -> None setStandardErrorFile(self, fileName: str, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate) -> None [extrait de setStandardErrorFile.__doc__]
setStandardInputFile(self, fileName: str) -> None setStandardInputFile(self, fileName: str) -> None [extrait de setStandardInputFile.__doc__]
setStandardOutputFile(self, fileName: str, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate) -> None setStandardOutputFile(self, fileName: str, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.Truncate) -> None [extrait de setStandardOutputFile.__doc__]
setStandardOutputProcess(self, destination: PySide6.QtCore.QProcess) -> None setStandardOutputProcess(self, destination: PySide6.QtCore.QProcess) -> None [extrait de setStandardOutputProcess.__doc__]
setWorkingDirectory(self, dir: str) -> None setWorkingDirectory(self, dir: str) -> None [extrait de setWorkingDirectory.__doc__]
splitCommand(command: str) -> List[str] splitCommand(command: str) -> List[str] [extrait de splitCommand.__doc__]
start start(self, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> None [extrait de start.__doc__]
startCommand(self, command: str, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> None startCommand(self, command: str, mode: PySide6.QtCore.QIODeviceBase.OpenMode = PySide6.QtCore.QIODeviceBase.OpenModeFlag.ReadWrite) -> None [extrait de startCommand.__doc__]
startDetached startDetached(program: str, arguments: Sequence[str] = {}, workingDirectory: str = '') -> Tuple[Tuple, int] [extrait de startDetached.__doc__]
started
state(self) -> PySide6.QtCore.QProcess.ProcessState state(self) -> PySide6.QtCore.QProcess.ProcessState [extrait de state.__doc__]
stateChanged
systemEnvironment() -> List[str] systemEnvironment() -> List[str] [extrait de systemEnvironment.__doc__]
terminate(self) -> None terminate(self) -> None [extrait de terminate.__doc__]
tr
waitForBytesWritten(self, msecs: int = 30000) -> bool waitForBytesWritten(self, msecs: int = 30000) -> bool [extrait de waitForBytesWritten.__doc__]
waitForFinished(self, msecs: int = 30000) -> bool waitForFinished(self, msecs: int = 30000) -> bool [extrait de waitForFinished.__doc__]
waitForReadyRead(self, msecs: int = 30000) -> bool waitForReadyRead(self, msecs: int = 30000) -> bool [extrait de waitForReadyRead.__doc__]
waitForStarted(self, msecs: int = 30000) -> bool waitForStarted(self, msecs: int = 30000) -> bool [extrait de waitForStarted.__doc__]
workingDirectory(self) -> str workingDirectory(self) -> str [extrait de workingDirectory.__doc__]
writeData(self, data: bytes, len: int) -> int writeData(self, data: bytes, len: int) -> int [extrait de writeData.__doc__]

Méthodes héritées de la classe QIODevice

__init_subclass__, __subclasshook__, atEnd, bytesAvailable, canReadLine, commitTransaction, currentReadChannel, currentWriteChannel, errorString, getChar, isOpen, isReadable, isTextModeEnabled, isTransactionStarted, isWritable, openMode, peek, pos, putChar, read, readAll, readChannelCount, readLine, readLineData, reset, rollbackTransaction, seek, setCurrentReadChannel, setCurrentWriteChannel, setErrorString, setOpenMode, setTextModeEnabled, size, skip, skipData, startTransaction, ungetChar, write, writeChannelCount

Méthodes héritées de la classe QIODeviceBase

__copy__, __init_subclass__, __subclasshook__, OpenMode, OpenModeFlag

Méthodes héritées de la classe QObject

__init_subclass__, __repr__, __subclasshook__, blockSignals, childEvent, children, connect, connectNotify, customEvent, deleteLater, disconnect, disconnectNotify, dumpObjectInfo, dumpObjectTree, dynamicPropertyNames, emit, event, eventFilter, findChild, findChildren, inherits, installEventFilter, isSignalConnected, isWidgetType, isWindowType, killTimer, metaObject, moveToThread, objectName, parent, property, receivers, removeEventFilter, sender, senderSignalIndex, setObjectName, setParent, setProperty, signalsBlocked, startTimer, thread, timerEvent

Méthodes héritées de la classe Object

__init_subclass__, __subclasshook__

Méthodes héritées de la classe object

__dir__, __format__, __hash__, __reduce__, __reduce_ex__, __repr__, __sizeof__, __str__