This PR contains the work done to create a new *Hummingbird* project with very basic configuration from the _colibri_ executable, just like the project you could create with the [Hummingbird template](https://github.com/hummingbird-project/template) project in Github. Reviewed-on: #3 Co-authored-by: Javier Cicchelli <javier@rock-n-code.com> Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
18 lines
371 B
Swift
18 lines
371 B
Swift
import Foundation
|
|
|
|
protocol Processable {
|
|
|
|
// MARK: Properties
|
|
|
|
var arguments: [String]? { get set }
|
|
var executableURL: URL? { get set }
|
|
var standardError: Any? { get set }
|
|
var standardOutput: Any? { get set }
|
|
var terminationHandler: (@Sendable (Process) -> Void)? { get set }
|
|
|
|
// MARK: Functions
|
|
|
|
func run() throws
|
|
|
|
}
|