Subject: bug#55743: 28.1.50; No directory error in comp-run-async-workers

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 02 Jun 2022 10:17:10 +0200

Eli Zaretskii <[email-masked]> writes:

> We require that default-directory be valid whenever Emacs needs to run
> a subprocess.  This is a basic requirement for all Lisp programs using
> this facility.  Native compilation is not different from any other
> Lisp program that invokes a subprocess.

Any asynchronous background process has to ensure that it starts from a
sensible directory -- not whatever default-directory that happens to be
in place in the current buffer.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no