Thank you!
I've tried. The approach with /bin/sh worked flawlessly. The approach with TMPDIR worked too, but only after changing the relative path (with ~/) in TMPDIR to the absolute one. Is it a feature?
Thank you again! I'll try both these ways.
While the issue itself is resolved, I would like to ask: is there a possibility to preserve noexec option for /tmp and in the same time to use the functionality of terminal commands? I tried to make /tmp/worker-USER a soft link to ~/worker-USER and got the error "/tmp/worker-USER is not a directory" (Worker refused to launch). I found that "fix" in the changelog for 2013-11: "fixed external command execution if the tmp directory is mounted with NOEXEC option" https://sourceforge.net/p/workerfm/mailman/workerfm-users/?viewmonth=201311...
Can you check if /tmp (or $TMPDIR if set) is mounted so that files cannot be executed (noexec flag)? That could explain the behavior. Exactly! I looked in /etc/fstab and found noexec there, for /tmp. After removing it, everything works as expected. Thank you very much, Ralf!
Terminal commands do work in other programs (I checked in fbpanel).
I tried 2 Worker versions: 4.6.1 and 4.7.0.
Errata: /etc/bashrc -> /etc/bash/bashrc couildn't -> couldn't