run gnom-terminal with excutable command
Posted
by
user286251
on Ask Ubuntu
See other posts from Ask Ubuntu
or by user286251
Published on 2014-05-28T19:05:36Z
Indexed on
2014/05/28
22:05 UTC
Read the original article
Hit count: 255
gnome-terminal
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.
© Ask Ubuntu or respective owner