summaryrefslogtreecommitdiffstats
path: root/src/corelib/io/qprocess.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-01 11:36:55 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2010-07-03 21:35:01 (GMT)
commit654f33a214508241dfc44168c359e46a55982110 (patch)
tree7637c264b6a3d5467898e80fc567985b8c651b8e /src/corelib/io/qprocess.cpp
parent58078604455cc7a529d82e68adec77a880cbcbf7 (diff)
downloadQt-654f33a214508241dfc44168c359e46a55982110.zip
Qt-654f33a214508241dfc44168c359e46a55982110.tar.gz
Qt-654f33a214508241dfc44168c359e46a55982110.tar.bz2
doc improvements
Diffstat (limited to 'src/corelib/io/qprocess.cpp')
-rw-r--r--src/corelib/io/qprocess.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/corelib/io/qprocess.cpp b/src/corelib/io/qprocess.cpp
index b5e7a97..8eba2b0 100644
--- a/src/corelib/io/qprocess.cpp
+++ b/src/corelib/io/qprocess.cpp
@@ -1856,7 +1856,7 @@ QByteArray QProcess::readAllStandardError()
}
/*!
- Starts the program \a program in a new process, if one is not already
+ Starts the given \a program in a new process, if none is already
running, passing the command line arguments in \a arguments. The OpenMode
is set to \a mode.
@@ -1866,14 +1866,13 @@ QByteArray QProcess::readAllStandardError()
process, a warning may be printed at the console, and the existing
process will continue running.
- \note Arguments that contain spaces are not passed to the
- process as separate arguments.
-
\note Processes are started asynchronously, which means the started()
and error() signals may be delayed. Call waitForStarted() to make
sure the process has started (or has failed to start) and those signals
have been emitted.
+ \note No further splitting of the arguments is performed.
+
\bold{Windows:} Arguments that contain spaces are wrapped in quotes.
\sa pid(), started(), waitForStarted()
@@ -2079,7 +2078,7 @@ QProcess::ExitStatus QProcess::exitStatus() const
code of the process. Any data the new process writes to the
console is forwarded to the calling process.
- The environment and working directory are inherited by the calling
+ The environment and working directory are inherited from the calling
process.
On Windows, arguments that contain spaces are wrapped in quotes.