using HanaToolbox.Services.Interfaces; namespace HanaToolbox.Services.Interfaces; public interface IUserSwitcher { /// /// Executes a shell command string as <sid>adm using `su - <sid>adm -c`. /// If already running as <sid>adm, runs the command directly. /// Task RunAsAsync( string sid, string shellCommand, CancellationToken ct = default); }