Well, the process id of the started program would no longer be active and the change date of the file would be changed. That would be a clear indication that the changes are done. It would require polling though and I can understand the issues with that. For example
watchdog could help with that.