X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 01 Jun 2021 02:50 PM by  Ben Castellani
Running IDL without GUI
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

IKhokhriakov



New Member


Posts:2
New Member


--
21 May 2021 03:51 PM
    Hi All,

    For our project we need to run automated unit/integration tests.

    Is it possible to execute IDL scripts without the GUI? Is there any command line interpretator?

    Thanks in advance

    Ben Castellani



    Basic Member


    Posts:130
    Basic Member


    --
    01 Jun 2021 02:50 PM
    IDL ships with both a GUI (IDL Workbench) and Command Line interface. Command Line IDL can be launched from terminal on any platform and will bring up an IDL interpreter.

    For automated tests, you can launch IDL through a shell script like bash, or you can use the IDL Batch Job functionality: https://www.l3harrisgeospatial.com/docs/batchjobs.html

    Finally, you can also call IDL from command line with the "-e" (execute) flag to run single-line IDL commands. Each line could be an entire procedure or function in your unit test: https://www.l3harrisgeospatial.com/docs/command_line_options_for.html
    You are not authorized to post a reply.