Swift utilities for running commands.
下面是我的测试代码,我用`rvm`管理的`ruby`版本 ```swift import Foundation import Commands Commands.ENV.global.add(PATH: "/Users/jensen/.rvm/gems/ruby-2.7.0/bin") var result = Commands.Task.run(["pod", "--version"]) print("\(result.statusCode)") print("\(result.output)") print("\(result.errorOutput)") ``` 在命令行应用中可以正常执行,在我新建的mac app中报`The file “pod” doesn’t exist.` <img width="415" alt="image" src="https://user-images.githubusercontent.com/16679925/162672464-ca13437f-273a-4eb6-9efc-5a920299dba9.png"> 帮忙看一下这是因为什么,感谢!
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by Zhangyanshen and has received 1 comments.