KDECore
Go to the documentation of this file.
27 #include <QtCore/QProcess>
55 SeparateChannels = QProcess::SeparateChannels,
58 MergedChannels = QProcess::MergedChannels,
61 ForwardedChannels = QProcess::ForwardedChannels,
90 void setOutputChannelMode(OutputChannelMode mode);
97 OutputChannelMode outputChannelMode()
const;
108 void setNextOpenMode(QIODevice::OpenMode mode);
120 void setEnv(
const QString &name,
const QString &value,
bool overwrite =
true);
129 void unsetEnv(
const QString &name);
139 void clearEnvironment();
150 void setProgram(
const QString &exe,
const QStringList &args = QStringList());
158 void setProgram(
const QStringList &argv);
212 void setShellCommand(
const QString &cmd);
220 QStringList program()
const;
246 int execute(
int msecs = -1);
258 static int execute(
const QString &exe,
const QStringList &args = QStringList(),
int msecs = -1);
269 static int execute(
const QStringList &argv,
int msecs = -1);
295 static int startDetached(
const QString &exe,
const QStringList &args = QStringList());
304 static int startDetached(
const QStringList &argv);
331 using QProcess::setReadChannelMode;
332 using QProcess::readChannelMode;
333 using QProcess::setProcessChannelMode;
334 using QProcess::processChannelMode;
336 Q_PRIVATE_SLOT(d_func(),
void _k_forwardStdout())
337 Q_PRIVATE_SLOT(d_func(),
void _k_forwardStderr())
Child process invocation, monitoring and control.
KProcessPrivate *const d_ptr
OutputChannelMode
Modes in which the output channels can be opened.
QDataStream & operator<<(QDataStream &d, const ActionReply &reply)
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 00:00:00 by
doxygen 1.9.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.