More reliable process detection