Il 14/06/2015 14:22, Ru Vuott ha scritto: > ...and this ? > > Public Sub Main() > > If File.Load("/proc" &/ CStr(Application.Id) &/ "cmdline") Like "*.gambas*" > Then > Print "Running compiled into a .gambas file" > Else > Print "Running under the IDE" > Endif > > End >
if U add a simple "; echo .gambas" at the end of command line U can bypass that check. trust me , before using the Exec variable I've tryed a lot :-D ------------------------------------------------------------------------------ _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user