#include <notQt.h>
Public Member Functions | |
void | writeIn (string &input) |
int | start (const string &program, const list< string > &args) |
void | terminate (void) |
void | probeProcess (void) |
pid_t | getPid (void) |
int | getError (void) |
void | setError (int e) |
void | setCallbacks (notQProcessCallbacks *cb) |
string | readAllStandardOutput (void) |
string | readAllStandardError (void) |
bool | waitForStarted (void) |
Definition at line 87 of file notQt.h.
|
Accessors |
|
poll to see if there is data on stderr or stdout and to see if the process has exited. This must be called on a scheduled basis. It checks for any stdout/stderr data and also checks whether the process is still running. |
|
Slots |
|
Setter for the callbacks. |
|
fork and exec the process. |
|
Send a TERM signal to the process. |
|
Wait for the process to get itself going. Do this by looking at pid. If no pid after a while, return false. |
|
Write
|