removed clean process.environment

This commit is contained in:
Mauro Romito
2023-05-08 17:32:28 +02:00
committed by Mauro
parent e9af6ec541
commit 0766bfab24

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