[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Retrieve comint-process output from ert test.
From: |
Stefan Monnier |
Subject: |
Re: Retrieve comint-process output from ert test. |
Date: |
Thu, 21 Feb 2013 21:07:31 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> From my understanding accept-process-output should do the trick, but I
It should, but:
- you need to pass the `process' argument.
- you need to call it in a loop until all output is received, which
means you need to detect when the whole output is received
(e.g. either because the underlying process died, or because you get
some kind of prompt back).
-- Stefan