Result

public struct Result

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

  • The code returned by bash

    Declaration

    Swift

    public let returnCode: Int32
  • Data that was written to the specified output

    Declaration

    Swift

    public let output: [String]
  • Data that was written to the specified error output

    Declaration

    Swift

    public let errorOutput: [String]