Executing sudo commands?

How can plugins execute sudo commands in a compliant way?
ExecUtil marked all sudo methods as @Internal and SudoCommandProvider is the same.

Are plugins expected to prompt for the password to run sudo on their own?
That’s probably not very reassuring for end-users, though :pensive_face:

I asked this last year and got no reply: Using internal `SudoCommandProvider`?

At the moment you can only repeat code of com.intellij.execution.sudo.LocalSudoCommandProvider with GeneralCommandLine.

We can promote some of ExecUtil APIs in the future, but there are no definite plans so far.

Thanks!
I found ElevationSerive, which is @Experimental. It seems suitable, but doesn’t documentation on its purpose. Would that be a replacement or was it made for something else?