#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) |
Definition in file process.cc.
| #define BUF_SIZE 256 |
Definition at line 53 of file process.cc.
Referenced by run_simple_process().
| 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().
Definition at line 55 of file process.cc.
References _, _Exception, BUF_SIZE, zmm::String::c_str(), CFG_SERVER_TMPDIR, Singleton< ConfigManager >::getInstance(), zmm::String::length(), log_debug, and tempName().
Referenced by FileRequestHandler::open().
1.6.1