An environment executable handler capable of controlling execution status and returncode.