How would I start an application (by launcher) the exact same way as GNOME would, in a command line interface? I want to set some environment variables.I know I can check the launcher file for the 'EXEC' command but for some reason that command makes my application crash; while when it's launched through GNOME it works fine. 
How to start an application as GNOME would by command line?
gnome3;command