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

Home » Public Forums » archive » Re: Silent errors in run-time
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Silent errors in run-time [message #45847 is a reply to message #45837] Tue, 11 October 2005 07:23 Go to previous messageGo to previous message
K. Bowman is currently offline  K. Bowman
Messages: 330
Registered: May 2000
Senior Member
In article <1129035538.813436.242790@g43g2000cwa.googlegroups.com>,
otto.hyvarinen@fmi.fi wrote:

> I have a bunch of IDL scripts I want to run with cron in Linux. I have
> compiled and saved them, and now run them with 'idl
> -rt="somthing.sav"'.
>
> All is well, except when there is an error, IDL wants to open a window
> with the error message. That is not what I want. I would like to either
> put those messages to stderr or supress them altogether (I don't
> actually care what happens. If a script fails, it fails.). Is there
> some extra command line option, or something I can use?
>
> regards,
> Otto Hyv�rinen

You need to "redirect output". Syntax varies slightly depending on which shell
you are running.

In csh (and tcsh) I do something like this

idl >>& my_idl_log

to append both standard output and standard error to the file my_idl_log.

Ken Bowman
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Format query
Next Topic: Re: declare variables

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

Current Time: Fri Oct 10 03:30:44 PDT 2025

Total time taken to generate the page: 0.80450 seconds