pub async fn handle_running_tasks( config: &Config, tasks: Vec<TaskEnvelope>, pre_processor_output_file: Option<PathBuf>, output_file: Option<PathBuf>, cairo_pie_file: Option<PathBuf>, ) -> Result<()>