Skip to content

Commit 2985121

Browse files
authored
Use executableURL in build script (#49)
1 parent 9a65f08 commit 2985121

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/build.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Foundation
66

77
func execute(commandPath: String, arguments: [String]) throws {
88
let task = Process()
9-
task.launchPath = commandPath
9+
task.executableURL = .init(filePath: commandPath)
1010
task.arguments = arguments
1111
print("Launching command: \(commandPath) \(arguments.joined(separator: " "))")
1212
try task.run()

0 commit comments

Comments
 (0)