When i run gnome-terminal with the -e to execute a command the PATH used to find the command is not the PATH used in the terminal initiating the command
I open an terminal and set the PATH to be "./:$PATH
gnome-terminal -e cluster_node
It can't find the cluster node.
type gnome-terminal -e ./cluster_node it works
If I add in the /etc/environment the PATH ./ then it works always/
I think it doesn't use the terminal environment PATH from which it was launched.