process.cc File Reference

#include "process.h"
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/wait.h>
#include <string.h>
#include <errno.h>
#include "config_manager.h"

Go to the source code of this file.

Defines

#define BUF_SIZE   256

Functions

String run_simple_process (String prog, String param, String input)
bool is_alive (pid_t pid, int *status)
bool kill_proc (pid_t kill_pid)

Detailed Description

Definition in file process.cc.


Define Documentation

#define BUF_SIZE   256

Definition at line 53 of file process.cc.

Referenced by run_simple_process().


Function Documentation

bool is_alive ( pid_t  pid,
int *  status 
)

Definition at line 139 of file process.cc.

Referenced by ProcessExecutor::getStatus(), ProcessExecutor::isAlive(), and kill_proc().

bool kill_proc ( pid_t  kill_pid  ) 

Definition at line 147 of file process.cc.

References is_alive(), and log_debug.

Referenced by ProcessExecutor::kill().

String run_simple_process ( String  prog,
String  param,
String  input 
)

Generated on Fri Mar 26 20:16:54 2010 for MediaTomb by  doxygen 1.6.1