Fix use of zsh in our tools.
This commit is contained in:
@@ -20,7 +20,7 @@ enum Utilities {
|
|||||||
static func zsh(_ command: String, workingDirectoryURL: URL = projectDirectoryURL) throws -> String? {
|
static func zsh(_ command: String, workingDirectoryURL: URL = projectDirectoryURL) throws -> String? {
|
||||||
let process = Process()
|
let process = Process()
|
||||||
process.executableURL = URL(filePath: "/bin/zsh")
|
process.executableURL = URL(filePath: "/bin/zsh")
|
||||||
process.arguments = ["-c", command]
|
process.arguments = ["-cu", command]
|
||||||
process.currentDirectoryURL = workingDirectoryURL
|
process.currentDirectoryURL = workingDirectoryURL
|
||||||
|
|
||||||
let outputPipe = Pipe()
|
let outputPipe = Pipe()
|
||||||
|
|||||||
Reference in New Issue
Block a user