comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » stderr and unix exit status of IDL runtime applications
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
stderr and unix exit status of IDL runtime applications [message #52088] Wed, 27 December 2006 05:13
daniel is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: ENVI: procedure to get X, Y of pixel in displayed image
Next Topic: AVHRR Image Mapping Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 17:53:14 PDT 2025

Total time taken to generate the page: 0.00536 seconds