emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: call-process should not block process filters from running


From: Po Lu
Subject: Re: call-process should not block process filters from running
Date: Tue, 04 Jul 2023 21:25:18 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

sbaugh@catern.com writes:

> (As a tangent, it's kind of sad that this call-process API has ever
> caused Emacs to block/stop running Lisp - subprocesses are inherently
> concurrent!  They are what we use if we want Emacs to *not* block.  I
> understand that that's complex, but it's just kind of ironic.)

You are thinking of asynchronous subprocesses and not subprocesses
themselves.  When you run a subprocess from /bin/sh (not jsh):

#!/bin/sh

sleep 10

do you expect `sleep' to execute without suspending the parent shell?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]