run gnom-terminal with excutable command
- by user286251
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
For example:
I open an terminal and set the PATH to be "./:$PATH
type in gnome-terminal -e cluster_node
It can't find the cluster node.
if I type gnome-terminal -e ./cluster_node it works
If I add in the /etc/environemtn the PATH ./ then it works always/
I think it doesn't use theterminal environment PATH from which it was launched.