util: let launchProcess work more like launchProcessXDG

this should fix #558

NOTE: this is a candidate for the stable branch
Merge pull request #560 from karolherbst/bug558

util: let launchProcess work more like launchProcessXDG