removed clean process.environment

This commit is contained in:
Mauro Romito 2023-05-08 17:32:28 +02:00 committed by Mauro
parent 061e66ff57
commit 483d261504

View File

@ -19,7 +19,6 @@ enum Utilities {
@discardableResult
static func zsh(_ command: String, workingDirectoryURL: URL = projectDirectoryURL) throws -> String? {
let process = Process()
process.environment = [:]
process.executableURL = URL(fileURLWithPath: "/bin/zsh")
process.arguments = ["-cu", command]
process.currentDirectoryURL = workingDirectoryURL