 @discardableResult
 func run(standardInput: Any? = nil, standardOutput: Any? = nil, standardError: Any? = nil, _ command: String, arguments: [String]) -> Int? {
     do {
-<<<<<<< HEAD
-        let process = try createProcess(command: command, arguments: arguments)
-=======
         let process = try createProcess(
             command: command, 
             arguments: arguments, 

    }
    return rv == expectedResult
}
<<<<<<< HEAD
=======

/// Executes desired program and
/// - Parameters:

///   - output: the FileHandle to redirect standard output to if not `nil`
/// - Throws: an error if any of the commands cannot be run
/// - Returns: an array of processes being executed
func pipe(_ components: [CommandArguments], in path: [String] = ProcessInfo.processInfo.environmentPaths ?? [], input: Any? = nil, output: Any? = nil) throws -> [Process] {
    let pipes: [Any?] = components.enumerated().map { $0.offset == 0 ? input : Pipe() as Any? } + [output]
    let processes = try components.enumerated().map {
        try createProcess(command: $0.element.command, in: path, arguments: $0.element.arguments, standardInput: pipes[$0.offset], standardOutput: pipes[$0.offset+1])
