From: Stefan Kangas <stefan@marxist.se>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Davor Cubranic <davor.cubranic@alumni.cs.ubc.ca>, 21972@debbugs.gnu.org
Subject: bug#21972: 24.5; Running 'bash -i -c' via shell-command hangs on FreeBSD
Date: Mon, 14 Oct 2019 22:50:22 +0200 [thread overview]
Message-ID: <CADwFkmmSBJWEO3CM1C1yc9B8BP=2zoL=Sadekpp0ekY7aMOt7A@mail.gmail.com> (raw)
In-Reply-To: <837e57hyx3.fsf@gnu.org>
Eli Zaretskii <eliz@gnu.org> writes:
> > If bash hangs, shouldn't that be reported as a bug in bash instead?
>
> It's possible that your Bash is newer, and this bug was fixed since
> then.
True.
> In general, it sounds like Bash tries to read from its stdin, and in
> call-process that is... what? By contrast, by default we communicate
> with async subprocess via PTYs (on Posix hosts), which is what Bash
> expects in an interactive session.
>
> IOW, I cannot understand why would someone call "bash -i" in a
> non-interactive command.
Indeed.
> > Or should Emacs somehow do better with a hanging process?
>
> Like what?
No idea, that's why I'm asking. But if you don't know either, then I
guess that means that there is nothing to do here; and this is not a
bug in Emacs.
Best regards,
Stefan Kangas
next prev parent reply other threads:[~2019-10-14 20:50 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-21 14:20 bug#21972: 24.5; Running 'bash -i -c' via shell-command hangs on FreeBSD Davor Cubranic
2019-10-14 19:55 ` Stefan Kangas
2019-10-14 20:09 ` Eli Zaretskii
2019-10-14 20:50 ` Stefan Kangas [this message]
2019-10-17 4:47 ` Davor Cubranic
2019-10-17 11:36 ` Stefan Kangas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmmSBJWEO3CM1C1yc9B8BP=2zoL=Sadekpp0ekY7aMOt7A@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=21972@debbugs.gnu.org \
--cc=davor.cubranic@alumni.cs.ubc.ca \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.