Missing comma: "file, waiting".  As presently phrased, the file is waiting for the process to terminate.  I'd actually be inclined to say:
@brief Runs the specified process, redirecting its output to a file and waiting for it to terminate.