Please make sure you're on the latest code. If the problem persists then file a bug with all the data and samples .. also try without using c# or what ever language this is... also make sure the variable is set BEFORE recording starts.
My understanding is that the "record_post_process_exec_app" will be started (automatically) when the recording ends.This is but not happen..., Do I miss something?