stderr and unix exit status of IDL runtime applications [message #52088] |
Wed, 27 December 2006 05:13 |
daniel
Messages: 3 Registered: March 1998
|
Junior Member |
|
|
Dear all,
When running an IDL application under unix with
idl -rt=app.sav
I encounter two strange behaviours of IDL:
The first thing is that the application print IDL messages to stderr,
instead of stdout, e.g.
-----
IDL Version 6.2 (IRIX mipseb m64). (c) 2005, Research Systems, Inc.
Installation number: 999999.
Licensed for use by: MYCOMPANY
% Restored file: IDLRTMAIN.
% MY_ROUTINE: bla bla
----
does IDL not distinguish between stderr and stdout?
The second thing is that the unix exit status of this idl -rt=app.sav
command is 0 irrespective of the success of the application.
Are there any system variables that can be set to manipulate this
behaviour?
Thanks a lot for any input
Daniel
|
|
|