run_process() function given a .quit argument: should R quit() with exit status 1 if the process is not completely successful