Gets the exit code of application process based on result of the main effect
result of the main effect
the exit code of application process based on result of the main effect