CLIFoundation Documentation Beta

Structure Shell.​Result

public struct Result 

A type that holds information about the output of an executed bash command

Member Of

Shell

A type that can be used to launch bash commands

Properties

return​Code

public let returnCode: Int32

The code returned by bash

output

public let output: [String]

Data that was written to the specified output

error​Output

public let errorOutput: [String]

Data that was written to the specified error output