C# Class Qyoto.QProcess

Inheritance: Qyoto.QIODevice, IDisposable
Afficher le fichier Open project: 0xd34df00d/Qross Class Usage Examples

Méthodes publiques

Méthode Description
CloseReadChannel ( QProcess channel ) : void
CloseWriteChannel ( ) : void
Dispose ( ) : void
Environment ( ) : List
Error ( ) : QProcess.ProcessError
Execute ( string program ) : int
Execute ( string program, List arguments ) : int
ExitCode ( ) : int
Pid ( ) : long
ProcessEnvironment ( ) : QProcessEnvironment
QProcess ( QObject parent ) : System
ReadAllStandardError ( ) : Qyoto.QByteArray
ReadAllStandardOutput ( ) : Qyoto.QByteArray
ReadChannel ( ) : QProcess.ProcessChannel
ReadChannelMode ( ) : QProcess.ProcessChannelMode
SetEnvironment ( List environment ) : void
SetProcessChannelMode ( QProcess mode ) : void
SetProcessEnvironment ( QProcessEnvironment environment ) : void
SetReadChannel ( QProcess channel ) : void
SetReadChannelMode ( QProcess mode ) : void
SetStandardErrorFile ( string fileName ) : void
SetStandardErrorFile ( string fileName, uint mode ) : void
SetStandardInputFile ( string fileName ) : void
SetStandardOutputFile ( string fileName ) : void
SetStandardOutputFile ( string fileName, uint mode ) : void
SetStandardOutputProcess ( QProcess destination ) : void
SetWorkingDirectory ( string dir ) : void
Start ( string program ) : void
Start ( string program, List arguments ) : void
Start ( string program, List arguments, uint mode ) : void
Start ( string program, uint mode ) : void
StartDetached ( string program ) : bool
StartDetached ( string program, List arguments ) : bool
StartDetached ( string program, List arguments, string workingDirectory ) : bool
StartDetached ( string program, List arguments, string workingDirectory, long &pid ) : bool
State ( ) : QProcess.ProcessState
SystemEnvironment ( ) : List
Tr ( string s ) : string
Tr ( string s, string c ) : string
WaitForBytesWritten ( ) : bool
WaitForFinished ( ) : bool
WaitForFinished ( int msecs ) : bool
WaitForReadyRead ( ) : bool
WaitForStarted ( ) : bool
WaitForStarted ( int msecs ) : bool
WorkingDirectory ( ) : string
exitStatus ( ) : QProcess.ExitStatus
processChannelMode ( ) : QProcess.ProcessChannelMode

Méthodes protégées

Méthode Description
CreateProxy ( ) : void
QProcess ( Type dummy ) : System
SetProcessState ( QProcess state ) : void

Private Methods

Méthode Description
AtEnd ( ) : bool
BytesAvailable ( ) : long
BytesToWrite ( ) : long
CanReadLine ( ) : bool
Close ( ) : void
IsSequential ( ) : bool
Kill ( ) : void
QProcess ( ) : System
ReadData ( Pointer data, long maxlen ) : long
SetupChildProcess ( ) : void
Terminate ( ) : void
WaitForBytesWritten ( int msecs ) : bool
WaitForReadyRead ( int msecs ) : bool
WriteData ( string data, long len ) : long

Method Details

CloseReadChannel() public méthode

public CloseReadChannel ( QProcess channel ) : void
channel QProcess
Résultat void

CloseWriteChannel() public méthode

public CloseWriteChannel ( ) : void
Résultat void

CreateProxy() protected méthode

protected CreateProxy ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Environment() public méthode

public Environment ( ) : List
Résultat List

Error() public méthode

public Error ( ) : QProcess.ProcessError
Résultat QProcess.ProcessError

Execute() public static méthode

public static Execute ( string program ) : int
program string
Résultat int

Execute() public static méthode

public static Execute ( string program, List arguments ) : int
program string
arguments List
Résultat int

ExitCode() public méthode

public ExitCode ( ) : int
Résultat int

Pid() public méthode

public Pid ( ) : long
Résultat long

ProcessEnvironment() public méthode

public ProcessEnvironment ( ) : QProcessEnvironment
Résultat QProcessEnvironment

QProcess() public méthode

public QProcess ( QObject parent ) : System
parent QObject
Résultat System

QProcess() protected méthode

protected QProcess ( Type dummy ) : System
dummy System.Type
Résultat System

ReadAllStandardError() public méthode

public ReadAllStandardError ( ) : Qyoto.QByteArray
Résultat Qyoto.QByteArray

ReadAllStandardOutput() public méthode

public ReadAllStandardOutput ( ) : Qyoto.QByteArray
Résultat Qyoto.QByteArray

ReadChannel() public méthode

public ReadChannel ( ) : QProcess.ProcessChannel
Résultat QProcess.ProcessChannel

ReadChannelMode() public méthode

public ReadChannelMode ( ) : QProcess.ProcessChannelMode
Résultat QProcess.ProcessChannelMode

SetEnvironment() public méthode

public SetEnvironment ( List environment ) : void
environment List
Résultat void

SetProcessChannelMode() public méthode

public SetProcessChannelMode ( QProcess mode ) : void
mode QProcess
Résultat void

SetProcessEnvironment() public méthode

public SetProcessEnvironment ( QProcessEnvironment environment ) : void
environment QProcessEnvironment
Résultat void

SetProcessState() protected méthode

protected SetProcessState ( QProcess state ) : void
state QProcess
Résultat void

SetReadChannel() public méthode

public SetReadChannel ( QProcess channel ) : void
channel QProcess
Résultat void

SetReadChannelMode() public méthode

public SetReadChannelMode ( QProcess mode ) : void
mode QProcess
Résultat void

SetStandardErrorFile() public méthode

public SetStandardErrorFile ( string fileName ) : void
fileName string
Résultat void

SetStandardErrorFile() public méthode

public SetStandardErrorFile ( string fileName, uint mode ) : void
fileName string
mode uint
Résultat void

SetStandardInputFile() public méthode

public SetStandardInputFile ( string fileName ) : void
fileName string
Résultat void

SetStandardOutputFile() public méthode

public SetStandardOutputFile ( string fileName ) : void
fileName string
Résultat void

SetStandardOutputFile() public méthode

public SetStandardOutputFile ( string fileName, uint mode ) : void
fileName string
mode uint
Résultat void

SetStandardOutputProcess() public méthode

public SetStandardOutputProcess ( QProcess destination ) : void
destination QProcess
Résultat void

SetWorkingDirectory() public méthode

public SetWorkingDirectory ( string dir ) : void
dir string
Résultat void

Start() public méthode

public Start ( string program ) : void
program string
Résultat void

Start() public méthode

public Start ( string program, List arguments ) : void
program string
arguments List
Résultat void

Start() public méthode

public Start ( string program, List arguments, uint mode ) : void
program string
arguments List
mode uint
Résultat void

Start() public méthode

public Start ( string program, uint mode ) : void
program string
mode uint
Résultat void

StartDetached() public static méthode

public static StartDetached ( string program ) : bool
program string
Résultat bool

StartDetached() public static méthode

public static StartDetached ( string program, List arguments ) : bool
program string
arguments List
Résultat bool

StartDetached() public static méthode

public static StartDetached ( string program, List arguments, string workingDirectory ) : bool
program string
arguments List
workingDirectory string
Résultat bool

StartDetached() public static méthode

public static StartDetached ( string program, List arguments, string workingDirectory, long &pid ) : bool
program string
arguments List
workingDirectory string
pid long
Résultat bool

State() public méthode

public State ( ) : QProcess.ProcessState
Résultat QProcess.ProcessState

SystemEnvironment() public static méthode

public static SystemEnvironment ( ) : List
Résultat List

Tr() public static méthode

public static Tr ( string s ) : string
s string
Résultat string

Tr() public static méthode

public static Tr ( string s, string c ) : string
s string
c string
Résultat string

WaitForBytesWritten() public méthode

public WaitForBytesWritten ( ) : bool
Résultat bool

WaitForFinished() public méthode

public WaitForFinished ( ) : bool
Résultat bool

WaitForFinished() public méthode

public WaitForFinished ( int msecs ) : bool
msecs int
Résultat bool

WaitForReadyRead() public méthode

public WaitForReadyRead ( ) : bool
Résultat bool

WaitForStarted() public méthode

public WaitForStarted ( ) : bool
Résultat bool

WaitForStarted() public méthode

public WaitForStarted ( int msecs ) : bool
msecs int
Résultat bool

WorkingDirectory() public méthode

public WorkingDirectory ( ) : string
Résultat string

exitStatus() public méthode

public exitStatus ( ) : QProcess.ExitStatus
Résultat QProcess.ExitStatus

processChannelMode() public méthode

public processChannelMode ( ) : QProcess.ProcessChannelMode
Résultat QProcess.ProcessChannelMode