Subject: bug#16582: Bug: tramp shell command doesn't read stdin

From: Michael Albinus <[email-masked]>
Date: Wed, 05 Feb 2014 15:04:33 +0100

Sylvain Chouleur <[email-masked]> writes:

> Go into a tramp buffer, then execute:
> (async-shell-command "echo -n \"Type something:\"; read line; echo
> line=$line" nil nil)
>
> Your command will print:
>
> Type something:line=
>
> and terminate.

Well, the problem is that the heredoc construct occupies STDIN, which is
not available for the shell command then. I will check what I can do.

Best regards, Michael.