aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerrunner.cpp
diff options
context:
space:
mode:
authorOswald Buddenhagen <[email protected]>2010-10-14 18:05:43 +0200
committerOswald Buddenhagen <[email protected]>2010-11-17 13:19:07 +0100
commit531c70f05bfc8355f856f2af41be533fb13b85e6 (patch)
tree33d0d30107949f92e507e26f083d5d3caa98e8b8 /src/plugins/debugger/debuggerrunner.cpp
parentdc3ab5bf85d6ce9be2131f1a299731288d37c923 (diff)
add Utils::QtcProcess
this is a wrapper around QProcess with these features: - setEnvironment() takes a Utils::Environment instead of a QStringList - instead of taking a stringlist with arguments, take a single shell command string which is fully compatible with the system's native shell (the bourne shell on unix and cmd.exe on windows) - with support for environment variable expansion, and subject to the shell's splitting and quoting rules. if the command is too complex (e.g., contains redirections), it is transparently executed through a real shell. - additionally, the class contains a set of helper functions for manipulating (constructing, splitting, etc.) shell command lines. in particular, it contains a shell-safe macro expander and the nested class ArgIterator which can be used for inspecting and manipulating a shell command line without going through the stringlist indirection (which is potentially lossy). some of this is based on KDE code (KShell and KMacroExpander) which i have written myself.
Diffstat (limited to 'src/plugins/debugger/debuggerrunner.cpp')
0 files changed, 0 insertions, 0 deletions