Home · Overviews · Reference · Classes |
The ShellProcess class runs a process. More...
#include <ShellProcess>
The ShellProcess class runs a process.
The ShellProcess class runs a process via the shell.
This enum specifies the type of communications to use for stdout/stderr.
Constant | Value | Description |
---|---|---|
ShellProcess::Normal | 0 | Use pipes for stdout/stderr. |
ShellProcess::TTy | 1 | Use a virtual TTY for stdout/stderr. Note that if the current process' stdout or stderr is not a TTY a pipe will be used for that stream instead. |
Construct a shell process that will run command in cwd. The type value specifies if pipes or a TTY should be used. The echoCommandBeforeOutput value indicates that the command should be echoed if any output is produced. The command is run immediately and synchronously.
Returns the exit code of the shell.
Returns the output from the process.
Copyright © 2009 Trolltech | Qt Extended - QBuild Maintainer Guide |