相关疑难解决方法(0)

在自制安装脚本中绕过提示(按回车)

安装自制软件的非常简单的脚本:

  #!/bin/bash

  ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
Run Code Online (Sandbox Code Playgroud)

输出给出:

==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1

Press RETURN to continue or any other key to abort
Run Code Online (Sandbox Code Playgroud)

如何在这样的脚本中按Enter键?期望是最好的路线?

bash homebrew

22
推荐指数
3
解决办法
1万
查看次数

标签 统计

bash ×1

homebrew ×1