I have created a small entry for rofi to launch a program(Modelsim) that’s not on path, but i don’t know why it’s not working, the entry works if it’s called directly from a terminal or with shift+enter on rofi
I have a similar entry for vivado on the same folder which runs properly on all cases
To clarify, the scripts are included on PATH but the applications are not, in both cases.
This appears to be unnecessary as a dot (.) in the path is just referring itself.
For you real issue - an idea is:
The one application that don’t work is expecting to be launched from a specific folder/path to be able to load internal dependency scripts.
You script does not cd to the folder/path where those scripts reside and the app is therefore using the script parent folder as the start of it’s internal search path - which of course will yield error and the script terminates.
I’ve tried with cd and it did not change the beehaviour, in both cases the app still works if i run out of a terminal, or with shift+enter (where rofi launches the app on a terminal) it’s just the standard rofi launch that does not work and I don’t know why