首页 > 解决方案 > 在 Automator 中使用第三方 shell 模块

问题描述

如果我安装了第三方 shell 模块,就说 homebrew,我在 Automator 中有一个运行 shell 脚本块。如果我现在键入一个在终端中可以正常工作的命令,我在 Automator 中应该做什么?比如说我有brew install brightness,它不会在 Automator 中运行

标签: macosshellterminalautomator

解决方案


在这种情况下,您必须指定可执行文件的完整路径/usr/local/bin/brew/。许多(如果不是全部)第三方 shell 实用程序都在目录中/usr/local/bin/


推荐阅读