buildPasswordedCommand static method
Build one sudo invocation whose child cannot read the password stream.
Implementation
@visibleForTesting
static String buildPasswordedCommand(String commands) =>
"sudo -Skp '' sh -c "
'${_shellQuote('exec 0</dev/null; $commands')}';