pub fn strip_runnable(runnable: &Runnable, command: Command) -> Result<Runnable>