Qt 4.8
|
#include "qdebug.h"
#include "qplatformdefs.h"
#include "qprocess.h"
#include "qprocess_p.h"
#include "private/qcore_unix_p.h"
#include <private/qcore_mac_p.h>
#include <private/qcoreapplication_p.h>
#include <private/qthread_p.h>
#include <qfile.h>
#include <qfileinfo.h>
#include <qlist.h>
#include <qhash.h>
#include <qmutex.h>
#include <qsemaphore.h>
#include <qsocketnotifier.h>
#include <qthread.h>
#include <qelapsedtimer.h>
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <crt_externs.h>
#include "qprocess_unix.moc"
Go to the source code of this file.
Classes | |
struct | QProcessInfo |
class | QProcessManager |
Macros | |
#define | environ (*_NSGetEnviron()) |
Functions | |
static char ** | _q_dupEnvironment (const QProcessEnvironmentPrivate::Hash &environment, int *envc) |
static void | add_fd (int &nfds, int fd, fd_set *fdset) |
static QProcessManager * | processManager () |
Q_GLOBAL_STATIC (QMutex, cfbundleMutex) | |
static int | qt_create_pipe (int *pipe) |
static void | qt_sa_sigchld_sigaction (int signum, siginfo_t *info, void *context) |
static int | qt_timeout_value (int msecs, int elapsed) |
static int | select_msecs (int nfds, fd_set *fdread, fd_set *fdwrite, int timeout) |
Variables | |
static const int | errorBufferMax = 512 |
static QBasicAtomicInt | idCounter = Q_BASIC_ATOMIC_INITIALIZER(1) |
static int | qt_qprocess_deadChild_pipe [2] |
static struct sigaction | qt_sa_old_sigchld_handler |
#define environ (*_NSGetEnviron()) |
Definition at line 493 of file qprocess_unix.cpp.
|
static |
Definition at line 518 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::startProcess().
|
inlinestatic |
Definition at line 161 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::waitForBytesWritten(), QProcessPrivate::waitForFinished(), and QProcessPrivate::waitForReadyRead().
|
static |
Definition at line 198 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::findExitCode(), QProcessPrivate::startDetached(), QProcessPrivate::startProcess(), and QProcessPrivate::waitForDeadChild().
Q_GLOBAL_STATIC | ( | QMutex | , |
cfbundleMutex | |||
) |
Referenced by _q_dupEnvironment().
|
static |
Definition at line 352 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::createChannel(), and QProcessPrivate::startProcess().
|
static |
Definition at line 131 of file qprocess_unix.cpp.
Referenced by QProcessManager::QProcessManager(), and QProcessManager::~QProcessManager().
|
static |
Definition at line 1045 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::waitForBytesWritten(), QProcessPrivate::waitForFinished(), and QProcessPrivate::waitForReadyRead().
|
static |
Definition at line 1030 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::waitForBytesWritten(), QProcessPrivate::waitForFinished(), QProcessPrivate::waitForReadyRead(), QProcessPrivate::waitForStarted(), and QProcessPrivate::waitForWrite().
|
static |
Definition at line 120 of file qprocess_unix.cpp.
Referenced by QProcessPrivate::processStarted().
|
static |
Definition at line 309 of file qprocess_unix.cpp.
|
static |
Definition at line 129 of file qprocess_unix.cpp.
|
static |
Definition at line 130 of file qprocess_unix.cpp.
Referenced by QProcessManager::QProcessManager(), qt_sa_sigchld_sigaction(), and QProcessManager::~QProcessManager().