View previous topic :: View next topic |
Author |
Message |
mg
Joined: 13 May 2009 Posts: 2
|
Posted: Wed Aug 24, 2011 5:17 am Post subject: How to switch off dialog box raised if runtime error occur |
|
|
Situation:
I have to run hundreds of data decks with a Silverfrost Fortran program. For some data decks a runtime error occurs (floating point exception, stack fault, ...) In that cases a dialog box is raised which can be closed only by a user interaction (clicking the ok button).
Question:
Can I influence this behaviour? Is there e.g. a linker option available to suppress the dialog and pass the error back to the shell?
Hope for help, Michael |
|
Back to top |
|
 |
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 8211 Location: Salford, UK
|
Posted: Wed Aug 24, 2011 7:39 am Post subject: |
|
|
For Win32 you can set the following environment variable in order to divert the output to the command line...
SET SALFENVAR=kill_dialogbox |
|
Back to top |
|
 |
mg
Joined: 13 May 2009 Posts: 2
|
Posted: Wed Aug 24, 2011 3:38 pm Post subject: |
|
|
It works!
Thank you for your quick answer.
Best Regards, Michael |
|
Back to top |
|
 |
|