Try a more reliable process spawning logic.

A little housekeeping.