if you're running GDC and fgltty, you can do:
FUNCTION my_fgl_system()
DISPLAY "###SHOWTERM###"
RUN "dbaccess"
DISPLAY "###HIDETERM###"
END FUNCTION
and in your shortcut connection / terminal strings, assign "###SHOWTERM###" to show terminal and "###HIDETERM###" to hide terminal
when reading ###SHOWTERM### from fgltty, GDC will raise the terminal and will hide it once ###HIDETERM### is displayed.
HIH,
regards,
Pierre-Nicolas