|
|
|
@ -16,7 +16,7 @@ use crate::result::Result;
|
|
|
|
|
#[derive(Debug, Deserialize)]
|
|
|
|
|
pub struct Apps {
|
|
|
|
|
/// List of apps to start and monitor
|
|
|
|
|
app: Vec<App>,
|
|
|
|
|
apps: Vec<App>,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
impl Apps {
|
|
|
|
@ -50,7 +50,7 @@ impl Apps {
|
|
|
|
|
|
|
|
|
|
/// Get a list of the apps as a `Vec<App>`
|
|
|
|
|
pub fn apps(&self) -> Vec<App> {
|
|
|
|
|
self.app.clone()
|
|
|
|
|
self.apps.clone()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
pub fn start(&self) -> (Vec<Proc>, Option<i8>, Poll) {
|
|
|
|
|