gpt4 book ai didi

ios - 如何查找由 faSTLane 操作运行的 shell 命令的输出?

转载 作者:行者123 更新时间:2023-11-28 21:19:10 25 4
gpt4 key购买 nike

有时,faSTLane 操作会抛出如下错误:
错误 [2016-11-06 03:34:20.16]:Shell 命令退出,退出状态为 48 而不是 0。
我发现故障排除很困难,因为 --verbose 不够详细。我所说的 Action 不是指 sh Action ,这是相当特殊的情况,而是其他快速 channel Action ,例如创建钥匙串(keychain)。操作 create_keychain 调用 shell 命令 security create-keychain,当它失败时,不知道发生了什么。

如何找到由 faSTLane 的操作运行的 shell 命令的输出?
我如何找到 faSTLane 实际尝试运行的包含所有参数的 shell 命令?

最佳答案

当您使用 sh 操作时,shell 命令的输出默认打印出来。或者,您也可以使用反引号(标准 Ruby)自己直接运行 shell 命令

puts `ls`

关于ios - 如何查找由 faSTLane 操作运行的 shell 命令的输出?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40447639/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com