... | ... | @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) { |
|
|
// Start the application "App2" and obtain a reference to the running app.
|
|
|
std::unique_ptr<cameo::application::Instance> app2 = server.start("App2");
|
|
|
|
|
|
// Wait for the end of the app.
|
|
|
// Wait for the end of the app and get the terminal state.
|
|
|
cameo::application::State state = app2->waitFor();
|
|
|
|
|
|
return 0;
|
... | ... | @@ -108,6 +108,6 @@ app2 = server.connect("App2") |
|
|
# Stop the app.
|
|
|
app2.stop()
|
|
|
|
|
|
# Wait for the end of the app.
|
|
|
# Wait for the end of the app and get the terminal stats.
|
|
|
state = app.waitFor()
|
|
|
``` |