On 01/22/2012 10:44 PM, tpgww@xxxxxxxxxxx wrote:
On Sun, 22 Jan 2012 13:31:01 +0200 peter kostov<peter@xxxxxxxxxxxx> wrote:Thanks for your answer Tom, but it doesn't work here. I have tried both ways described in the usage doc, but the program I am starting still doesn't find those paths. When I try to retrieve the vars by typing e.g. $PATH in the command line of emelfm2 I get the following: Failed to execute child process "/some/path/bla_bla/" (No such file or directory).Well, since a path string is not an executable, of course, how about echo $PATH ?
It echoes the path correctly, the variable is set, but somehow not used. So if I try to execute a command, an executable that is present in that PATH, I get
"Failed to execute child process "renderdl" (No such file or directory)."
And the question two is - is there a way to set variables like when I use the 'source' command in bash?You can't force an emelFM2 command to run in the current process. Because there are a bunch of variablesand setting them by hand is a bit tedious, although they are stored by emelfm2 and is not necessary to set them each time. On the other hand when changing some of them I have to remember to set change them in emelfm2 too in order to be in sync.Perhaps an alias, being a command which grabs the environment variables you want, and sets them to internal variables.
I'll try this once we sort out why the variables are not passed to the child processes.
Do you have any suggestions what might be wrong here?
Regards Tom
-- Users can unsubscribe from the list by sending email to emelfm2-request@xxxxxxxxxxxxx with 'unsubscribe' in the subject field or by logging into the web interface.