[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-command-to-string results in error

From: Peter Dyballa
Subject: Re: shell-command-to-string results in error
Date: Sun, 28 Oct 2012 15:46:29 +0100

Am 28.10.2012 um 12:20 schrieb Rainer Stengele:

> Doing the same as root I get a correct result without error.

Can you launch GNU Emacs from your home directory or /tmp with the -Q option 
and try in *scratch* buffer

        (getenv "SHELL")

and also

        (shell-command-to-string "env | grep SHELL")

The first command will show you which value is set in the environment in which 
you GNU Emacs instance is running. The second command will be executed in a 
sub-shell – and return the same value plus any other disturbances your shell is 
producing at start-up. The draw your conclusions!

If the second command fails the same way as in your post, then it's possible 
that GNU Emacs has loaded inappropriate ELisp files…

Mit friedvollen Grüßen


Clovis' Consideration of an Atmospheric Anomaly:
        The perversity of nature is nowhere better demonstrated than by the 
fact that, when exposed to the same atmosphere, bread becomes hard while 
crackers become soft

reply via email to

[Prev in Thread] Current Thread [Next in Thread]