There should be no difference unless the debugger is attached, well the only difference is that (with visual studio) is making the .exe have a different directory (When opening a exe the first parameter must always be the path where it is located, visual studio changes the path to the default source directory)