Hello, How can I know if a GEM program was executed from a shell (namely Toswin2) or from the desktop? I'm outputting debug stuff to stdout but I'd rather not do it when the app is run from the desktop because it messes up the whole screen. Cheers, JFL -- Jean-François Lemaire