Console Linux sudo read password

This commit is contained in:
2023-09-05 13:26:10 +02:00
parent 0da5273c97
commit f37d497a3e
2 changed files with 9 additions and 7 deletions

View File

@@ -4,7 +4,6 @@ namespace FileTime.GuiApp.App.Configuration;
public class MainGuiConfiguration
{
public static Dictionary<string, string?> Configuration { get; }
static MainGuiConfiguration()
{

View File

@@ -163,7 +163,10 @@ public class AdminElevationManager : IAdminElevationManager, INotifyPropertyChan
StartInfo = new()
{
FileName = _configuration.CurrentValue.LinuxElevationTool,
CreateNoWindow = true
CreateNoWindow = true,
RedirectStandardInput = true,
RedirectStandardError = true,
RedirectStandardOutput = true
},
EnableRaisingEvents = true
};