pub fn run_process<F>(proc: Process, f: F) -> Result<Process>where
    F: Fn(&Item) -> Result<bool> + Send + Sync,