23 #include "wvstringlist.h"
44 WvSubProc(
const char cmd[],
const char *
const *argv)
45 { init(); startv(cmd, argv); }
51 int _startv(
const char cmd[],
const char *
const *argv);
56 void prepare(
const char cmd[], ...);
57 void preparev(
const char cmd[], va_list ap);
58 void preparev(
const char cmd[],
const char *
const *argv);
62 int start(
const char cmd[], ...);
64 int startv(
const char cmd[],
const char *
const *argv);
65 virtual int start_again();
67 virtual int fork(
int *waitfd);
71 virtual void stop(time_t msec_delay,
bool kill_children =
true);
74 virtual void wait(time_t msec_delay,
bool wait_children =
true);
87 void kill_primary(
int sig);
90 virtual void suspend()
98 #endif // __WVSUBPROC_H
This is a WvList of WvStrings, and is a really handy way to parse strings.
void setMemLimit(int megs)
Sets a limit on the number of megabytes of memory the subprocess will.
WvString is an implementation of a simple and efficient printable-string class.