[Frontend(-GNOME)] Use shell on Unix in /exec command and moved to frontend library