KDEsu
process.cpp
Go to the documentation of this file.
bool m_bTerminal
Indicates running in a terminal, causes additional newlines to be printed after output.
Definition: process.h:181
QDebug perror(QDebug s, KDebugTag)
QList< QByteArray > environment() const
Returns the additional environment variables set by setEnvironment()
Definition: process.cpp:181
QByteArray readLine(bool block=true)
Reads a line from the program's standard out.
Definition: process.cpp:239
int timeout
static QDebug kError(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
static QDebug kDebug(bool cond, int area=KDE_DEFAULT_DEBUG_AREA)
KSharedConfigPtr config()
void output(QList< Action > actions, QHash< QString, QString > domain)
QByteArray readAll(bool block=true)
Read all available output from the program's standard out.
Definition: process.cpp:187
QByteArray m_Exit
String to scan for in output that indicates child has exited.
Definition: process.h:186
int exec(const QByteArray &command, const QList< QByteArray > &args)
Forks off and execute a command.
Definition: process.cpp:291
void writeLine(const QByteArray &line, bool addNewline=true)
Writes a line of text to the program's standard in.
Definition: process.cpp:264
void unreadLine(const QByteArray &line, bool addNewline=true)
Puts back a line of input.
Definition: process.cpp:273
void setEnvironment(const QList< QByteArray > &env)
Set additinal environment variables.
Definition: process.cpp:165
static QString findExe(const QString &appname, const QString &pathstr=QString(), SearchOptions options=NoSearchOptions)
virtual void virtual_hook(int id, void *data)
Standard hack to add virtual methods in a BC way.
Definition: process.cpp:554
static int checkPidExited(pid_t pid)
Check process exit status for process pid.
Definition: process.cpp:102
#define k_lineinfo
T readEntry(const QString &key, const T &aDefault) const
int enableLocalEcho(bool enable=true)
Enables/disables local echo on the pseudo tty.
Definition: process.cpp:406
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:49:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.