#include </home/clem/local/src/opie/library/process.h>
Collaboration diagram for Process:

Public Member Functions | |
| Process (QObject *parent=0, const char *name=0) | |
| Process (const QString &arg0, QObject *parent=0, const char *name=0) | |
| Process (const QStringList &args, QObject *parent=0, const char *name=0) | |
| ~Process () | |
| QStringList | arguments () const |
| virtual void | setArguments (const QStringList &args) |
| virtual void | addArgument (const QString &arg) |
| virtual bool | exec (const QString &in, QString &out, QStringList *env=0) |
| virtual bool | exec (const QByteArray &in, QByteArray &out, QStringList *env=0) |
Private Member Functions | |
| void | init () |
Private Attributes | |
| ProcessPrivate * | d |
| QStringList | _arguments |
| int | exitStat |
| bool | exitNormal |
| bool | ioRedirection |
| bool | notifyOnExit |
| bool | wroteToStdinConnected |
Friends | |
| class | ProcessPrivate |
| class | ProcessManager |
| class | Proc |
|
||||||||||||
|
Definition at line 31 of file process.cpp. References init(). |
|
||||||||||||||||
|
Definition at line 38 of file process.cpp. References addArgument(), and init(). |
|
||||||||||||||||
|
Definition at line 46 of file process.cpp. References init(), and setArguments(). |
|
|
Destroys the class. If the process is running, it is NOT terminated! Standard input, standard output and standard error of the process are closed.
Definition at line 302 of file process_unix.cpp. References d. |
|
|
Definition at line 65 of file process.cpp. References _arguments, and QValueList< T >::append(). Referenced by Process(), and ServerPI::process(). |
|
|
Definition at line 55 of file process.cpp. References _arguments. |
|
||||||||||||||||
|
Definition at line 307 of file process_unix.cpp. References _arguments, QValueList< T >::begin(), buf, bufsize, ProcessPrivate::closeOpenSocketsForChild(), QString::contains(), QValueList< T >::count(), d, QValueList< T >::end(), error(), FALSE, QFileInfo::filePath(), QStringList::grep(), i, QFileInfo::isExecutable(), pid, qDebug(), QStringList::split(), TRUE, and write(). |
|
||||||||||||||||
|
Definition at line 70 of file process.cpp. References QString::fromLocal8Bit(). Referenced by OipkgPackage::details(), ServerPI::process(), and Qsmb::runCommand(). |
|
|
This private class does basic initialization. Definition at line 287 of file process_unix.cpp. References d, exitNormal, exitStat, FALSE, and ProcessPrivate. Referenced by Process(). |
|
|
Definition at line 60 of file process.cpp. References _arguments. Referenced by Process(). |
|
|
|
|
|
|
|
|
Definition at line 87 of file process.h. Referenced by init(). |
|
|
Definition at line 79 of file process.h. Referenced by addArgument(), arguments(), exec(), and setArguments(). |
|
|
Definition at line 78 of file process.h. Referenced by exec(), init(), Proc::~Proc(), and ~Process(). |
|
|
Definition at line 82 of file process.h. Referenced by init(). |
|
|
Definition at line 81 of file process.h. Referenced by init(). |
|
|
|
|
|
|
|
|
|
1.4.2