|
Re: Cross-platform exec()
>you don't know when it has completed it's task or failed
system() waits until its child process has completed. Upon completion, system() will return the value returned by the child process. So yes, using the return value of system(), you can determine the success of the program you ran.
|