|
testcontainers-cpp 0.2.0
Native C++20 Testcontainers over the Docker Engine API
|
The result of running a command inside a container via exec. More...
#include <testcontainers/ExecResult.hpp>
Public Attributes | |
| std::string | stdout_data |
| std::string | stderr_data |
| std::int64_t | exit_code = 0 |
The result of running a command inside a container via exec.
stdout_data / stderr_data are the demultiplexed output streams; the fields are named with a _data suffix because stdout / stderr are reserved macros from <cstdio> on some platforms (notably MSVC).
| std::string testcontainers::ExecResult::stdout_data |
| std::string testcontainers::ExecResult::stderr_data |
| std::int64_t testcontainers::ExecResult::exit_code = 0 |