util: let launchProcess work more like launchProcessXDG

fixes #558

NOTE: this is a candidate for the stable branch