AsyncShellTask
public final class AsyncShellTask
Output from the ‘runAsync’ methods.
-
Undocumented
Declaration
Swift
public final class AsyncShellTask -
Undocumented
Declaration
Swift
public final class AsyncShellTask -
Terminate process early.
Declaration
Swift
public func stop () -
Wait for this shell process to finish.
Throws
ShellError.ReturnedErrorCode (command: String, errorcode: Int)if the exit code is anything but 0.Declaration
Swift
@discardableResult public func finish() throws -> AsyncShellTaskReturn Value
itself
-
Wait for command to finish, then return with exit code.
Declaration
Swift
public func exitcode () -> Int
-
Undocumented
Declaration
Swift
public final class AsyncShellTask
View on GitHub
AsyncShellTask Class Reference