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 21:33:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Philipp Stephani <p.stephani2@gmail.com> writes:

> What I suggest here would be something like the following:
>
> (defun tramp-process-file (...)
>   (let ((code (...original code...)))
>     (if (> code 128)
>        ;; Probably a signal
>        (format "Signal %d" (- code 128))
>     code))

Yes. Or maybe there's a chance to access sys_siglist from sysdep.c via
Lisp.

Best regards, Michael.





reply via email to

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