... | ... | @@ -50,7 +50,7 @@ int main(int argc, char *argv[]) { |
|
|
// Wait for the end of the app and get the terminal state.
|
|
|
cameo::application::State state = app2->waitFor();
|
|
|
|
|
|
// Get the result.
|
|
|
// Get the result and display it.
|
|
|
std::optional<std::string> result = resultApplication->getResult();
|
|
|
if (result.has_value()) {
|
|
|
std::cout << "Result " << result.value() << std::endl;
|
... | ... | |