macOS automator-运行shell脚本不起作用

蕾丝

所以我有一个shell脚本,输出的格式为2021-01-15 02:20:33。它可以在命令行和AppleScript中使用,但不能在automator中使用。不知道如何解决它,我已经进行了几次搜索,但是没有任何结果解决此shell脚本问题,即在automator中不输出值。

工作于:

  • 终奌站

在此处输入图片说明

  • 苹果脚本 在此处输入图片说明

在automator中不起作用

  • 作为shell脚本:它运行,但输出为空。但是有一个输出。在此处输入图片说明

  • 作为Automator上的Applescript-无输出 在此处输入图片说明

任何帮助,将不胜感激

蕾丝

问题是automator在隐私方面没有完整的磁盘访问权限。启用之后,脚本将按预期工作。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

Automator MacOS Monterey 中的 PHP shell 脚本不再有效

Automator在Xcode中不起作用

Automator中的变量不起作用?

从OSX Automator Shell脚本运行Grunt

在macOS中将AppleScript与Apple Events结合使用-脚本不起作用

使用 macOS Automator 服务工作流程为 Finder 中选择的“每个文件或文件夹”运行 JavaScript

OSX Automator无法使用Shell中的模块运行Python脚本

使用Automator中的参数在Run Shell脚本中运行Curl

NodeJS 脚本在 macOS 上运行良好,但在 Windows 上不起作用

从automator中的脚本路径更改运行

简单的shell脚本不起作用

FTP Shell脚本不起作用

Shell Bash 脚本不起作用

在后台运行Automator工作流

通过automator applescript或bash运行illustratorextendscript?

python脚本ImportError:在Automator中运行shell脚本时没有名为'webbot'的模块

Automator:文件夹中文件的Shell脚本

Automator中的Shell脚本无法正常工作

Automator 将不同的变量传递给 shell 脚本

如何在automator shell脚本中使用带空格的路径?

从 PHP 调用的 Shell 脚本不起作用,但可以在命令行中运行

如何查看在automator中运行的脚本的stdout

使用位置参数在 Automator 中运行 bash 脚本

Automator / Terminal / Apple Script:从macOS控制台应用程序获取数据

macOS Mojave,Automator“未经授权将Apple事件发送到System Events。”

在macOS应用程序包中对Automator Workflow文件进行代码签名

如何在macOS预览应用程序中使用JavaScript for Automator(JXA)保存图像?

MacOS Automator + Applescript解决方案,可将docx导出为pdf

无法从macOS Catalina中的Preview应用处理输入文本以获取Automator的服务