unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Forwarding stdout/stderr of a child process in batch mode
@ 2020-12-06 13:30 Paul Pogonyshev
  2020-12-06 13:36 ` Zhu Zihao
  0 siblings, 1 reply; 6+ messages in thread
From: Paul Pogonyshev @ 2020-12-06 13:30 UTC (permalink / raw)
  To: Emacs developers

Hi,

I'm using Emacs in batch mode. I need to invoke a child process that
is a longish operation (a few minutes). During this time, it writes to
its stdout, so user will see that it is working and what exactly is
being done. However, if I invoke it from Emacs (e.g. using
`call-process') I see no way of forwarding this output to the "real"
stdout. So, for a user this looks like the process (or batch Emacs on
top of it) is hung.

Am I missing a way to forward output?

Paul



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-09  1:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-06 13:30 Forwarding stdout/stderr of a child process in batch mode Paul Pogonyshev
2020-12-06 13:36 ` Zhu Zihao
2020-12-06 21:40   ` Paul Pogonyshev
2020-12-08 15:55     ` Paul Pogonyshev
2020-12-08 21:43       ` Bruno Barbier
2020-12-09  1:14         ` Paul Pogonyshev

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).