Definition at line 108 of file ProcessController.h.
◆ ProcessSubmitter()
Definition at line 111 of file ProcessController.h.
112 : m_con(con)
113 {
114 m_iopipe[0] = iopipe[0];
115 m_iopipe[1] = iopipe[1];
116 }
◆ run()
Definition at line 155 of file ProcessController.cc.
156{
157
158 dup2(m_iopipe[1], 1);
159
160 dup2(m_iopipe[1], 2);
161 close(m_iopipe[0]);
163 if (m_con->getExecutable().size() == 0) {
164 m_con->setExecutable("basf2");
165 }
166 executor.setExecutable(m_con->getExecutable());
167 for (size_t i = 0; i < m_con->m_arg_v.size(); i++) {
168 executor.addArg(m_con->m_arg_v[i]);
169 }
170 executor.execute();
171}
◆ m_con
◆ m_iopipe
The documentation for this class was generated from the following files: