22#include <tdeprocess.h>
24#include "tdelibs_export.h"
26class TDEProcIOPrivate;
88 bool start (
RunMode runmode = NotifyOnExit,
bool includeStderr =
false);
96 bool writeStdin(
const TQString &line,
bool appendnewline=
true);
104 bool writeStdin(
const TQCString &line,
bool appendnewline);
123 TDE_DEPRECATED
bool fputs (
const TQString &line,
bool AppendNewLine=
true)
129 void closeWhenDone();
152 int readln (TQString &line,
bool autoAck=
true,
bool *partial=0);
162 TDE_DEPRECATED
int fgets (TQString &line,
bool autoAck=
false)
163 {
return readln (line, autoAck); }
187 void enableReadSignals (
bool enable);
198 TQPtrList<TQByteArray> outbuffer;
199 TQCString recvbuffer;
202 bool needreadsignal, readsignalon, writeready;
204 void controlledEmission ();
207 void received (
TDEProcess *proc,
char *buffer,
int buflen);
211 virtual void virtual_hook(
int id,
void* data );
TDE_DEPRECATED int fgets(TQString &line, bool autoAck=false)
This function calls readln().
void readReady(TDEProcIO *pio)
Emitted when the process is ready for reading.
TDE_DEPRECATED bool fputs(const TQString &line, bool AppendNewLine=true)
This function just calls writeStdin().
Child process invocation, monitoring and control.
virtual bool start(RunMode runmode=NotifyOnExit, Communication comm=NoCommunication)
Starts the process.
RunMode
Run-modes for a child process.
Communication
Modes in which the communication channel can be opened.
bool writeStdin(const char *buffer, int buflen)