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

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

bug#41099: 28.0.50; TRAMP process-file ignores exit status of remote pro


From: Michael Albinus
Subject: bug#41099: 28.0.50; TRAMP process-file ignores exit status of remote process
Date: Wed, 06 May 2020 15:32:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> Philipp Stephani <p.stephani2@gmail.com> writes:
>>
>> As a second step, consider also translating signals: if the exit code
>> is > 128, subtract 128 and return an appropriate string, like
>> call-process does.
>
> Thanks for the hint, will check.

Well, I can't see what "call-process does":

--8<---------------cut here---------------start------------->8---
(call-process "bash" nil nil nil "-c" "exit 142")
=> 142
--8<---------------cut here---------------end--------------->8---

Best reghards, Michael.





reply via email to

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