NAME
Qt::Core::QProcess
PUBLIC METHODS
- QProcess(QObject * parent)
- QProcess(QObject * parent = 0)
- ~QProcess()
- bool atEnd()
- qint64 bytesAvailable()
- qint64 bytesToWrite()
- bool canReadLine()
- void close()
- void closeReadChannel(QProcess::ProcessChannel channel)
- void closeWriteChannel()
- QStringList environment()
- QProcess::ProcessError error()
- static int execute(const QString & program)
- static int execute(const QString & program, const QStringList & arguments)
- int exitCode()
- QProcess::ExitStatus exitStatus()
- bool isSequential()
- void kill()
- qint64 pid()
- QProcess::ProcessChannelMode processChannelMode()
- QProcessEnvironment processEnvironment()
- QByteArray readAllStandardError()
- QByteArray readAllStandardOutput()
- QProcess::ProcessChannel readChannel()
- QProcess::ProcessChannelMode readChannelMode()
- void setEnvironment(const QStringList & environment)
- void setProcessChannelMode(QProcess::ProcessChannelMode mode)
- void setProcessEnvironment(const QProcessEnvironment & environment)
- void setReadChannel(QProcess::ProcessChannel channel)
- void setReadChannelMode(QProcess::ProcessChannelMode mode)
- void setStandardErrorFile(const QString & fileName, QFlags<QIODevice::OpenModeFlag> mode)
- void setStandardErrorFile(const QString & fileName, QFlags<QIODevice::OpenModeFlag> mode = QIODevice::Truncate)
- void setStandardInputFile(const QString & fileName)
- void setStandardOutputFile(const QString & fileName, QFlags<QIODevice::OpenModeFlag> mode)
- void setStandardOutputFile(const QString & fileName, QFlags<QIODevice::OpenModeFlag> mode = QIODevice::Truncate)
- void setStandardOutputProcess(QProcess * destination)
- void setWorkingDirectory(const QString & dir)
- void start(const QString & program, QFlags<QIODevice::OpenModeFlag> mode)
- void start(const QString & program, QFlags<QIODevice::OpenModeFlag> mode = QIODevice::ReadWrite)
- void start(const QString & program, const QStringList & arguments, QFlags<QIODevice::OpenModeFlag> mode)
- void start(const QString & program, const QStringList & arguments, QFlags<QIODevice::OpenModeFlag> mode = QIODevice::ReadWrite)
- static bool startDetached(const QString & program)
- static bool startDetached(const QString & program, const QStringList & arguments)
- static bool startDetached(const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid)
- static bool startDetached(const QString & program, const QStringList & arguments, const QString & workingDirectory, qint64 * pid = 0)
- QProcess::ProcessState state()
- static QStringList systemEnvironment()
- void terminate()
- bool waitForBytesWritten(int msecs)
- bool waitForBytesWritten(int msecs = 30000)
- bool waitForFinished(int msecs)
- bool waitForFinished(int msecs = 30000)
- bool waitForReadyRead(int msecs)
- bool waitForReadyRead(int msecs = 30000)
- bool waitForStarted(int msecs)
- bool waitForStarted(int msecs = 30000)
- QString workingDirectory()
ENUM VALUES
- FailedToStart
- Crashed
- Timedout
- ReadError
- WriteError
- UnknownError
- NotRunning
- Starting
- Running
- StandardOutput
- StandardError
- SeparateChannels
- MergedChannels
- ForwardedChannels
- NormalExit
- CrashExit
EXPORT
None by default.
AUTHOR
Dongxu Ma <dongxu@cpan.org>
COPYRIGHT AND LICENSE
Copyright (C) 2011 - 2012 by Dongxu Ma
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.