Installing homebrew and echo password #60
-
Hi everyone, I have a question regarding installing homebrew with the following command: This script prompts the user for his (admin)password but I want to automate this since I want to automatically install homebrew as a dependency to my software. (I'm using C#+Mono and I start a process through System.Diagnostics.Process) How can I send my password through STDIN (or something) to the prompt of the script. " But the above commands do not work, it still prompts me for my password. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
You can use
SUDO_ASKPASS
for this.