#include "zmmf/zmmf.h"Go to the source code of this file.
Functions | |
| void | init_process () |
| zmm::String | run_simple_process (zmm::String prog, zmm::String param, zmm::String input) |
| void | run_process (zmm::String prog, zmm::String param) |
| bool | is_alive (pid_t pid, int *exit_status=NULL) |
| bool | kill_proc (pid_t kill_pid) |
Definition in file process.h.
| void init_process | ( | ) |
| bool is_alive | ( | pid_t | pid, | |
| int * | exit_status = NULL | |||
| ) |
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().
| void run_process | ( | zmm::String | prog, | |
| zmm::String | param | |||
| ) |
| zmm::String run_simple_process | ( | zmm::String | prog, | |
| zmm::String | param, | |||
| zmm::String | input | |||
| ) |
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