process: New function process_run_capture().