On Sun, Feb 19, 2023, 17:02 SegundoBob <segundo...@gmail.com> wrote: > Your "Execute script" code works well for me when I use it from a > Leo-Editor file that I open from a terminal, but it does not work when I > use the file browser Thunar to open the Leo-editor file. > > When I invoke your script from a Leo-Editor file opened by Thunar, I get > this error message even when the script is not a Bash script: >
My first feeling here is that there are some commands or variables that would be populated in an interactive shell session's environment but do not exist in a non-interactive shell session. I will take time tonight to try this out myself. I haven't had a need to use Leo in a long time but to help debug this issue I will make that change. I'm not great at Python, but I do understand some of the complexities of making things work on Linux. Mike > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/leo-editor/CAN%2B%2B4hE75z%2BY5_FW02LxtdfP_SV-Fns1X1k8w_AU3CJTObWJ0w%40mail.gmail.com.