Task: Create an Emacs Lisp Function for Running Sudo Commands with Password Prompt
Task: Create an Emacs Lisp Function for Running Sudo Commands with Password Prompt: a task in Terminal-Lego-15k (Harbor dataset). In Emacs, running shell-command with sudo does not work interactively — it fails because sudo cannot prompt for a password through the non-interactive shell command…
The task
In Emacs, running `shell-command` with `sudo` does not work interactively — it fails because `sudo` cannot prompt for a password through the non-interactive shell command interface. Your task is to write an Emacs Lisp file that provides a solution for running sudo commands from within Emacs by leveraging Emacs'…
Part of PrimeIntellect/Terminal-Lego-15k.