Cool feature of Windows 7/Windows 2008R2. Read more at Process exit monitoring with GFlags