[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
shell-command-to-string results in error
From: |
Rainer Stengele |
Subject: |
shell-command-to-string results in error |
Date: |
Sun, 28 Oct 2012 12:20:04 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 |
Hi!
Doing a simple
(shell-command-to-string "/bin/ls")
I receive this
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
call-process(nil nil t nil "-c" "/bin/ls")
shell-command-to-string("/bin/ls")
eval((shell-command-to-string "/bin/ls"))
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)
Doing the same as root I get a correct result without error.
I do run:
GNU Emacs 23.4.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-09
on murphy, modified by Debian
I cannot find the problem. I aƶready changed my login shell from zsh to
sh but without success.
Can anybody help me please?
Cheers, Rainer
- shell-command-to-string results in error,
Rainer Stengele <=