removed clean process.environment
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user