Forum Discussion
Nikoolayy1
MVP
Jan 17, 2023iCall script triggers error need ${HOME} to run
I have checked article https://community.f5.com/t5/technical-articles/what-is-icall/ta-p/288206 and https://support.f5.com/csp/article/K14397 for iCall scripts.
I am trying to execute a linux c...
Nikoolayy1
MVP
Jan 18, 2023If i run the script myself yes there is no issue as that is the first thing I checked but I have now some leads, so I will do more testing. Still I used "bash script.sh" or "./script.sh" for personal tests, so maybe the "exec" changes the shell, so a nice suggestion.
G-Rob
Employee
Jan 19, 2023I don't think "exec" necessarily changes the shell, but "exec bash script.sh" vs "exec script.sh" would launch a child BASH process, most likely without the environmental variables you need. Can you try without specifying bash and let me know how it goes?
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects