#include "qprocess.h"
#include "qprocess_p.h"
#include <qbytearray.h>
#include <qelapsedtimer.h>
#include <qcoreapplication.h>
#include <qsocketnotifier.h>
#include <qtimer.h>
#include <private/qwineventnotifier_p.h>
#include <crt_externs.h>
#include "moc_qprocess.cpp"
Go to the source code of this file.
◆ environ
#define environ (*_NSGetEnviron()) |
◆ parseCombinedArgString()
Definition at line 2100 of file qprocess.cpp.
Referenced by QProcess::start(), and QProcess::startDetached().
2105 bool inQuote =
false;
2110 for (
int i = 0; i < program.
size(); ++i) {
2113 if (quoteCount == 3) {
2116 tmp += program.
at(i);
2121 if (quoteCount == 1)
2125 if (!inQuote && program.
at(i).
isSpace()) {
2131 tmp += program.
at(i);
const QChar at(int i) const
Returns the character at the given index position in the string.
The QString class provides a Unicode character string.
bool isSpace() const
Returns true if the character is a separator character (Separator_* categories); otherwise returns fa...
int size() const
Returns the number of characters in this string.
bool isEmpty() const
Returns true if the string has no characters; otherwise returns false.
The QStringList class provides a list of strings.
void clear()
Clears the contents of the string and makes it empty.
The QLatin1Char class provides an 8-bit ASCII/Latin-1 character.