![](https://secure.gravatar.com/avatar/e36a18c9a055ea4bd07f60a55a464488.jpg?s=120&d=mm&r=g)
21 Jan
2021
21 Jan
'21
10:40 a.m.
Thanks for the example! This would work, but as opposed to setting SUDO_ASKPASS as mentioned before, this approach has the drawback that you cannot pass an input to the subcommand. Anyways, one way or another, problem solved! Thanks! -- Pierre Neidhardt https://ambrevar.xyz/