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

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

Re: Control of fan-speed on Lenovo Thinkpads


From: Stefan Monnier
Subject: Re: Control of fan-speed on Lenovo Thinkpads
Date: Wed, 31 Mar 2021 10:23:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>       (let* ((sudo `(call-process "sudo" nil ,sudo-buffer t "su" "-c" "--" 
> "root" "-c" ,command))
>              (status (eval sudo))

Why?  No kitten needs to suffer here:

    (let* ((status (call-process "sudo" nil sudo-buffer t "su" "-c" "--" "root" 
"-c" command))


-- Stefan




reply via email to

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