Lines Matching refs:command
28 …public static Process EnsureSudoExecute(string command, string arguments = "", string description … in EnsureSudoExecute() argument
31 …process = Misc.IsRoot ? Process.Start(command, arguments) : SudoExecute(command + " " + arguments,… in EnsureSudoExecute()
53 var command = sudoProcess.StartInfo.FileName + " " + sudoProcess.StartInfo.Arguments; in EnsureSudoProcess()
54 sudoProcess.StartInfo.Arguments = SudoDecorateCommand(sudoName, command, description); in EnsureSudoProcess()
99 private static Process SudoExecute(string command, string description = "") in SudoExecute() argument
103 command = SudoDecorateCommand(sudoName, command, description); in SudoExecute()
104 process = Process.Start(sudoName, command); in SudoExecute()
115 …private static string SudoDecorateCommand(string sudoName, string command, string description = "") in SudoDecorateCommand() argument
123 result = string.Format(@"-D ""{0}"" ""{1}""", description, command); in SudoDecorateCommand()
126 result = string.Format(@"-c ""{0}"" --comment ""{1}""", command, description); in SudoDecorateCommand()
131 result = command; in SudoDecorateCommand()