Swift utilities for running commands.

多个命令怎么组合?#3

Closed
Opened 9/9/20214 commentsby vitasapple
vitasapple

``` Commands.Task.run("cd \(path)") let result = Commands.Task.run("pod install") switch result { case .Success( let request, let response): print( "command: \(request.absoluteCommand), Success output: \(response.errorOutput)") case .Failure(let request, let response): print( "command: \(request.absoluteCommand), failure output: \(response.errorOutput)") } ``` 报错:command: pod install, failure output: The file “pod” doesn’t exist. 似乎是cd的操作独立于pod install导致的,请问这个要怎么处理?

AI Analysis

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 vitasapple and has received 4 comments.

Add a comment
Comment form would go here