GNU bug report logs - #16582
Bug: tramp shell command doesn't read stdin

Previous Next

Package: emacs;

Reported by: Sylvain Chouleur <sylvain.chouleur <at> gmail.com>

Date: Tue, 28 Jan 2014 22:44:02 UTC

Severity: normal

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Sylvain Chouleur <sylvain.chouleur <at> gmail.com>
Cc: 16582 <at> debbugs.gnu.org
Subject: bug#16582: Bug: tramp shell command doesn't read stdin
Date: Wed, 05 Feb 2014 15:04:33 +0100
Sylvain Chouleur <sylvain.chouleur <at> gmail.com> 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.




This bug report was last modified 11 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.