Self instead of Proc

master
rasul 5 years ago
parent c8b84223e7
commit eb9f25e328

@ -10,7 +10,7 @@ pub struct Proc {
}
impl Proc {
pub fn start(app: App) -> Result<Proc> {
pub fn start(app: App) -> Result<Self> {
info!("starting application {}", &app.name);
let mut command = Command::new(&app.command);

Loading…
Cancel
Save