emacs-devel
[Top][All Lists]
Advanced

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

Re: master b96f441139: ; Delete file after wallpaper test


From: Stefan Monnier
Subject: Re: master b96f441139: ; Delete file after wallpaper test
Date: Wed, 19 Oct 2022 11:45:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> +        (setq process (wallpaper-set fil-jpg))
> +        ;; Wait for "touch" process to exit so temp file is removed.
> +        (while (and (< (- (time-convert nil 'integer) start)
> +                       timeout)
> +                    (process-live-p process))
> +          (sit-for 0.01))
>          (should called)))))

`accept-process-output` is supposed to be the more reliable.canonical way
to wait for a process to make progress or terminate.


        Stefan




reply via email to

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