Run a single-line command from GDL in a shell script #1212
-
Hi, is there an equivalent way with GDL to run a single-line command in a shell script like this idl -e "test_example" I've tried naively gdl -e "test_example" but with no success. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 6 replies
-
Not sure to understand you ... I can do :
which run exactly as IDL ... and you can access to in-line doc : HTH A. |
Beta Was this translation helpful? Give feedback.
-
I created a small procedure maned
then run it without problem with : Seems to be mandatory that the radical of the file and the name of the procedure are the sames. |
Beta Was this translation helpful? Give feedback.
-
I now have things set up as I needed in the Docker container, with GDL installed along with the Astronomy and Coyote Libray and all seems to be running fine. In case it might be useful to others, I copy here the content of the Dockerfile I've used to create the Docker image. Thanks again to all for the replies and feedback. #Step 1 ENV DEBIAN_FRONTEND=noninteractive #Step 2 #Step 3 ENV GDL_PATH="+/GDL/pro:+/GDL/gdl/src/pro" #Step 4 #In case graphics are required |
Beta Was this translation helpful? Give feedback.
-
thanks, there is now a new chapter 'GDL in a Docker container' on our wiki 👍 |
Beta Was this translation helpful? Give feedback.
Not sure to understand you ...
I can do :
which run exactly as IDL ...
and you can access to in-line doc :
gdl -h
HTH
A.