Is there a version of exec(), or something similar, which will block until the system call is complete?
ttt
block? What are you talking about?
the exec (or whatever) method will not end and program execution will not continue until the call to the system is complete...
That is correct.