Portability Libraries  2015.2.0.0
Common Methods and Objects for Platform Independance.
SoftwareAndServices::Library::Common::Program Class Reference

#include "<SaS/Common/Program.hpp>"

+ Inheritance diagram for SoftwareAndServices::Library::Common::Program:
+ Collaboration diagram for SoftwareAndServices::Library::Common::Program:

Public Member Functions

 Program ()
virtual ~Program ()
bool check (pid_t pid)
int exitStatus ()
int getErrno ()
int getStderr () const
int getStdin () const
int getStdout () const
bool ifexited ()
bool ifsignaled ()
pid_t run (const char *prog, const char **argv, const char **envp=_defaultEnv, bool waitForProgram=true)
bool sendSig (pid_t pid, int sig=SIGTERM)
int termsig ()
bool wait (pid_t pid)
- Public Member Functions inherited from SoftwareAndServices::Library::Common::instance< Program >
 instance ()
virtual InstanceCount_t decInstance () const
virtual InstanceCount_t getInstance () const
virtual InstanceCount_t incInstance () const
void operator delete (void *ToFree)

Static Public Member Functions

static const char * getPath ()

Detailed Description

OS wrapper for starting a program, waiting for, and tracking a process.

Definition at line 103 of file Program.hpp.

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