[Top][All Lists]

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

Re: Open terminal window from emacs

From: Sven Joachim
Subject: Re: Open terminal window from emacs
Date: Sat, 28 Sep 2013 12:06:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

On 2013-09-28 10:06 +0200, Frederik wrote:

>> Seems to me the tilde does not get expanded here, so you would have to
>> use (expand-file-name default-directory) rather than just
>> default-directory.
> Yeah, thanks, I just skimmed the documentation on default-directory and
> found expand-file-name. It works now. However the behaviour is quite
> strange since the command "urxvt -cd ~/test" works well when launched
> from a terminal...

Your shell expands the tilde then, as it does in Pascal's suggestion.
But call-process does not invoke a shell, in contrast to shell-command.


reply via email to

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