[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.
- bug#13299: 24.3.50; Tramp adb and device not found, nyc4bos, 2013/03/05
- bug#13299: 24.3.50; Tramp adb and device not found, nyc4bos, 2013/03/09
- bug#13299: 24.3.50; Tramp adb and device not found, Michael Albinus, 2013/03/11
- bug#13299: 24.3.50; Tramp adb and device not found, nyc4bos, 2013/03/16
- bug#13299: 24.3.50; Tramp adb and device not found, Michael Albinus, 2013/03/17
- bug#13299: 24.3.50; Tramp adb and device not found, Eli Zaretskii, 2013/03/17
- bug#13299: 24.3.50; Tramp adb and device not found,
Michael Albinus <=
- bug#13299: 24.3.50; Tramp adb and device not found, Eli Zaretskii, 2013/03/18
- bug#13299: 24.3.50; Tramp adb and device not found, Michael Albinus, 2013/03/18
- bug#13299: 24.3.50; Tramp adb and device not found, nyc4bos, 2013/03/21
- bug#13299: 24.3.50; Tramp adb and device not found, Michael Albinus, 2013/03/23