WvStreams
Public Member Functions | Public Attributes | List of all members
WvSubProc Class Reference
Inheritance diagram for WvSubProc:
Inheritance graph
[legend]

Public Member Functions

 DeclareWvList (pid_t)
 
 WvSubProc (const char cmd[], const char *const *argv)
 
void prepare (const char cmd[],...)
 
void preparev (const char cmd[], va_list ap)
 
void preparev (const char cmd[], const char *const *argv)
 
void preparev (const char cmd[], WvStringList &)
 
int start (const char cmd[],...)
 
int startv (const char cmd[], const char *const *argv)
 
virtual int start_again ()
 
virtual int fork (int *waitfd)
 
virtual void stop (time_t msec_delay, bool kill_children=true)
 
virtual void wait (time_t msec_delay, bool wait_children=true)
 
pid_t pidfile_pid ()
 
void setMemLimit (int megs)
 Sets a limit on the number of megabytes of memory the subprocess will.
 
void kill (int sig)
 
void kill_primary (int sig)
 
virtual void suspend ()
 
virtual void resume ()
 

Public Attributes

pid_tList old_pids
 
pid_t pid
 
bool running
 
int estatus
 
WvString pidfile
 
WvString last_cmd
 
WvString app
 
WvStringList last_args
 
WvStringList env
 

Detailed Description

Definition at line 29 of file wvsubproc.h.


The documentation for this class was generated from the following files: