FairMQ
1.4.14
C++ Message Queuing Library and Framework
fairmq
tools
Process.h
1
/********************************************************************************
2
* Copyright (C) 2017 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3
* *
4
* This software is distributed under the terms of the *
5
* GNU Lesser General Public Licence (LGPL) version 3, *
6
* copied verbatim in the file "LICENSE" *
7
********************************************************************************/
8
9
#ifndef FAIR_MQ_TOOLS_PROCESS_H
10
#define FAIR_MQ_TOOLS_PROCESS_H
11
12
#include <string>
13
14
namespace
fair
15
{
16
namespace
mq
17
{
18
namespace
tools
19
{
20
24
struct
execute_result
25
{
26
std::string console_out;
27
int
exit_code;
28
};
29
39
execute_result
execute(
const
std::string& cmd,
40
const
std::string& prefix =
""
,
41
const
std::string& input =
""
,
42
int
sig = -1);
43
44
}
/* namespace tools */
45
}
/* namespace mq */
46
}
/* namespace fair */
47
48
#endif
/* FAIR_MQ_TOOLS_PROCESS_H */
fair::mq::tools::execute_result
Definition:
Process.h:24
fair
Tools for interfacing containers to the transport via polymorphic allocators.
Definition:
DeviceRunner.h:23
privacy