ExecCommand Class Reference
#include <execcommand.h>
Inherits TQObject.
Signals | |
void | finished (const TQString &output, const TQString &errorOutput) |
Detailed Description
This class invokes a binary with the arguments passed in the constructor and emits the signal finished() with the output.
It also displays a progress dialog with the possibility to cancel the command.
If there was an error or the user pressed cancel, finished () will emit a TQString(), otherwise TQStrings containing the stdout/stderr.
The object will delete itself after the finished signal has been emitted. Additional environment can be set in the TQStringList env via TQStrings with the format "foo=blah"
Definition at line 45 of file execcommand.h.
The documentation for this class was generated from the following files: