#include #include #include namespace HSS { inline void run(QIPC& ipc, const std::string& file) { if (fork() == 0) { execlp("HSSChildLauncher", "child", std::to_string(ipc.get_fds().get_in()).c_str(), std::to_string(ipc.get_fds().get_out()).c_str(), file.c_str(), nullptr); throw std::runtime_error("Failed to run HSSChildLauncher"); } } }