Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Scripts/build.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Foundation

func execute(commandPath: String, arguments: [String], pipedTo pipeProcess: Process? = nil) throws {
let task = Process()
task.launchPath = commandPath
task.executableURL = .init(filePath: commandPath)
task.arguments = arguments

let argumentsString = arguments
Expand All @@ -30,7 +30,7 @@ func execute(commandPath: String, arguments: [String], pipedTo pipeProcess: Proc
print("Launching command: \(commandPath) \(argumentsString)")
}

task.launch()
try task.run()

pipeProcess?.launch()

Expand Down
Loading