This functionality is now provided by libxfce4ui, see commit 8990efaf "Use the spawn code from libxfce4ui."