Replies: 1 comment
-
Sounds like you want |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In bash I can get the script file name from argument $0
Script in file
/home/jk/bin/exp01.sh
:Output:
So how can I get the $0
/home/jk/bin/exp01.sh
in ammonite script?I tried following simple
/home/jk/bin/exp02.sc
:Output is:
FileName
is missing the absolute path andFullName
needs additional parsing before it can be used as path.What is the most elegant way to get the script file absolute name? If there are none, could this be a further development issue?
Beta Was this translation helpful? Give feedback.
All reactions