X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 15 Jul 2015 10:08 AM by  Zachary Norman
Command line IDL
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

Zachary Norman



Basic Member


Posts:173
Basic Member


--
15 Jul 2015 10:08 AM
    Is there a way to start up IDL and have it run some pro code, then exit automatically?

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    15 Jul 2015 10:11 AM
    There is a command line option -e that you can use to execute and IDL statement at startup. Command line IDL will exit automatically once the command has been executed. Here is a link to the documentation with an example: http://www.exelisvis.com/docs/Command... Alternatively, you can use EXIT at the end of your program to force IDL to close once your code has ran. Here is a link ot the documentation regarding EXIT: http://www.exelisvis.com/docs/EXIT.html
    You are not authorized to post a reply.