bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#2930: 23.0.92; `accept-process-output' and `sleep-for' do not run se


From: Stefan Monnier
Subject: bug#2930: 23.0.92; `accept-process-output' and `sleep-for' do not run sentinels
Date: Wed, 08 Apr 2009 17:11:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux)

>    (let ((p (start-process "bc" nil "bc"))
>          my-finished)
>      (set-process-sentinel p 'my-sentinel)
>      (process-send-string p "quit\n")
>      (while (not my-finished)
>        (accept-process-output nil 0.1)))

What happens of you pass `p' to accept-process-output, as would
seem natural?


        Stefan






reply via email to

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