Bug in remote use of notmuch

Michal Sojka sojkam1 at fel.cvut.cz
Fri Nov 19 01:06:09 PST 2010


On Fri, 19 Nov 2010, Austin Clements wrote:
> Unfortunately, expansion *is* performed by the remote shell, which is why
> your shell quoting approach works (and is necessary).  There's really no way
> around this, since the ssh client simply joins all of its trailing arguments
> with spaces and sends this single string to the ssh server, which exec()s
> $SHELL -c <string>.

Yes, your're right. I was confused by ssh(1) which says that server
executes either login shell or the command.

-M


More information about the notmuch mailing list