shellprocess.h
Go to the documentation of this file.
const TQString & command() const
Returns the command configured to be run.
Definition: shellprocess.h:89
static bool authorised()
Returns whether the user is authorised to run shell commands.
Definition: shellprocess.cpp:200
void shellExited(ShellProcess *)
Signal emitted when the shell process execution completes.
TQString errorMessage() const
Returns the error message corresponding to the command exit status.
Definition: shellprocess.cpp:141
bool normalExit() const
Returns whether the command was run successfully.
Definition: shellprocess.h:87
void writeStdin(const char *buffer, int bufflen)
Writes a string to the process's STDIN.
Definition: shellprocess.cpp:102
void stdinExit()
Tell the process to exit once any outstanding STDIN strings have been written.
Definition: shellprocess.cpp:129
bool start(Communication comm=NoCommunication)
Executes the configured command.
Definition: shellprocess.cpp:51