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

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

bug#13299: 24.3.50; Tramp adb and device not found


From: Michael Albinus
Subject: bug#13299: 24.3.50; Tramp adb and device not found
Date: Mon, 18 Mar 2013 08:33:19 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

>> Well, I've borrowed an MS Windows machine for tests. And indeed, it
>> blocks. Looks like `call-process' is not interruptable with a timer on
>> MS Windows.
>
> What do you mean by "timer" here?  Even in Emacs this has multiple
> meanings, to say nothing of the rest of the world ;-)

There is the following code:

  (with-timeout (10)
    (with-temp-buffer
      (when (zerop (call-process tramp-adb-program nil t nil "devices"))
      ...

No problem under GNU/Linux. Under MS Windows, the timeout does not
interrupt the `call-process' form, when it is overdued. That's why I
have replaced it with a `start-process' implementation.

Best regards, Michael.





reply via email to

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