pub fn save_to_cmd(tasks: Vec<&Task>, cmd: Command) -> Result<Child, Error>
This function runs the given Command, pipes the tasks as JSON to it and returns a handle to the child process.