help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: How to let tramp be aware the virtualenv?


From: Michael Albinus
Subject: Re: How to let tramp be aware the virtualenv?
Date: Wed, 17 Jul 2019 08:12:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Zhongwei Yao <address@hidden> writes:

> Hi, Bruno,

Hi,

> By using " RemoteCommand sh -c '. my/python/virtualenv/bin/activate; bash
> -l'", I think all command will run in bash, right? Am I missing something?

After login on the remote host, Tramp calls /bin/sh. That's why bash is
not active. This could be overwritten by the connection property
"remote-shell", see the Tramp manual.

> Thanks,
> Zhongwei

Best regards, Michael.



reply via email to

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