I could not find a library function to detect if if an executable is available. The following function does the job but I’m not sure if there is something better in Guile that I could use. Any suggestions are appreciated.
Thanks, unfortunately I would have to give it the full path which would probably be unknown. I was looking for something similar to Python’s shutil.which().
I guess I should try to emulate the Python version it seems that it just checks PATH for the command. The test X_OK will be useful for that, so thanks for the suggestion.