mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
removed clean process.environment
This commit is contained in:
@@ -19,7 +19,6 @@ enum Utilities {
|
|||||||
@discardableResult
|
@discardableResult
|
||||||
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.environment = [:]
|
|
||||||
process.executableURL = URL(fileURLWithPath: "/bin/zsh")
|
process.executableURL = URL(fileURLWithPath: "/bin/zsh")
|
||||||
process.arguments = ["-cu", command]
|
process.arguments = ["-cu", command]
|
||||||
process.currentDirectoryURL = workingDirectoryURL
|
process.currentDirectoryURL = workingDirectoryURL
|
||||||
|
|||||||
Reference in New Issue
Block a user