AsyncShellTask

public final class AsyncShellTask

Output from the ‘runAsync’ methods.

  • Undocumented

    Declaration

    Swift

    public final class AsyncShellTask
  • Undocumented

    Declaration

    Swift

    public final class AsyncShellTask
  • Wait for this shell task to finish.

    Throws

    ShellError.ReturnedErrorCode (command: String, errorcode: Int32) if the exit code is anything but 0.

    Declaration

    Swift

    public func finish() throws -> AsyncShellTask

    Return Value

    itself

  • Wait for command to finish, then return with exit code.

    Declaration

    Swift

    public func exitcode () -> Int32