... | ... | @@ -92,8 +92,7 @@ int main(int argc, char *argv[]) { |
|
|
|
|
|
// Print the terminal state.
|
|
|
std::cout << "The application " << *app2
|
|
|
<< " terminated with state " << application::toString(state)
|
|
|
<< " and code " << app->getExitCode() << std::endl;
|
|
|
<< " terminated with state " << application::toString(state) << std::endl;
|
|
|
|
|
|
return 0;
|
|
|
}
|
... | ... | @@ -119,8 +118,7 @@ app2.stop() |
|
|
state = app.waitFor()
|
|
|
|
|
|
print("The application", app2.getNameId(),
|
|
|
"terminated with state", cameopy.toString(state),
|
|
|
"and code", app2.getExitCode())
|
|
|
"terminated with state", cameopy.toString(state))
|
|
|
```
|
|
|
|
|
|
On computer *D*, the console connects to *App2* and receives some output before *App2* is stopped:
|
... | ... | |