ProcessRunUtils.cpp File Reference

#include <fesa-core/Utilities/ProcessRunUtils.h>
#include <fesa-core/Core/FesaDefs.h>
#include <fesa-core/Exception/FesaException.h>
#include <cmw-log/Logger.h>
#include <cerrno>
#include <csignal>
#include <cstring>
#include <iostream>
#include <sstream>
#include <unistd.h>

Go to the source code of this file.

Namespaces

namespace  fesa
namespace  fesa::ProcessRunUtils

Functions

void fesa::ProcessRunUtils::maskSignals ()
 Block a specific set of signals for the main thread. All signals are masked by default, the dedicated thread in charge of treating the signals will take care of detecting them.
void fesa::ProcessRunUtils::shutDown ()
 Shut down the running process.
void fesa::ProcessRunUtils::detachFromTerminal ()
 Detach from the terminal in case the process is launched from an ssh connection.

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1