Y
Hacker News
new
|
ask
|
show
|
jobs
by
richardwhiuk
2700 days ago
The better solution is to change the command so it expects programatic arguments / pass command line parameters.
i.e.
prefer `apt-get install -y` over `yes | apt-get install foo`