I want to run a sudo command that prompts a GUI for the user to enter their password and get the password back for future use.
running this in a gnome-extention
GLib.spawn_command_line_sync('sudo echo e')
I get the following error
sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper