19{
20 Process& process(m_con->getProcess());
21 std::string process_name = m_con->getParName();
23 if (not process.wait()) {
24 callback.log(LogFile::FATAL, "Failed to wait processed process %s",
25 process_name.c_str());
26 return;
27 }
28 callback.log(LogFile::DEBUG, process_name + " : termineted");
29 callback.log(LogFile::DEBUG, "%s : waitpid_returned %d status = %d", process_name.c_str(), process.waitpid_result(),
30 process.waitpid_status());
31 process.set_id(-1);
32 callback.set(m_con->getParName() + ".pid", -1);
33
34
35
36
37
38
39
40
41
42
43
44}